From: Guillaume Pellerin Date: Thu, 6 Aug 2015 22:27:25 +0000 (+0200) Subject: add script id and url to logger X-Git-Tag: 1.1~185^2~16 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=a2c1184c17c9a257174e7956b53de8eda54ea193;p=teleforma.git add script id and url to logger --- diff --git a/teleforma/management/commands/teleforma-exam-submit-scripts-debug.py b/teleforma/management/commands/teleforma-exam-submit-scripts-debug.py index e4f82385..9acca314 100644 --- a/teleforma/management/commands/teleforma-exam-submit-scripts-debug.py +++ b/teleforma/management/commands/teleforma-exam-submit-scripts-debug.py @@ -35,6 +35,7 @@ class Command(BaseCommand): logger = Logger(args[0]) for script in Script.objects.filter(status=2): logger.logger.info(script.title) + logger.logger.info(script.id + ' : ' + script.url) if not script.file: logger.logger.error('No file!') script.submit()