From 3a7f8e08ecc460700490e46e0b41075174e582cc Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Fri, 18 Jul 2014 10:32:05 +0200 Subject: [PATCH] fix filename before submitting script --- teleforma/management/commands/teleforma-exam-submit-scripts.py | 1 + 1 file changed, 1 insertion(+) diff --git a/teleforma/management/commands/teleforma-exam-submit-scripts.py b/teleforma/management/commands/teleforma-exam-submit-scripts.py index 70b9fe70..0c171e8c 100644 --- a/teleforma/management/commands/teleforma-exam-submit-scripts.py +++ b/teleforma/management/commands/teleforma-exam-submit-scripts.py @@ -31,6 +31,7 @@ class Command(BaseCommand): def handle(self, *args, **options): logger = Logger(args[0]) for script in Script.objects.filter(status=2): + script.fix_filename() logger.logger.info(script.title) script.submit() logger.logger.info('OK') -- 2.39.5