X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/73fdcfae51e18d4ee8b84214fb44dad3d58ba49a..abb9819943355e192b04fc9aedcbd6fbc44bc5f9:/wtem/management/commands/wtem_send_keys.py diff --git a/wtem/management/commands/wtem_send_keys.py b/wtem/management/commands/wtem_send_keys.py index 9d14a26..4a1760c 100644 --- a/wtem/management/commands/wtem_send_keys.py +++ b/wtem/management/commands/wtem_send_keys.py @@ -36,7 +36,6 @@ class Command(BaseCommand): def send_keys(self, *args, **options): sent = 0 - skipped = 0 failed = 0 submissions = Submission.objects.all() @@ -52,7 +51,7 @@ class Command(BaseCommand): self.send_key(submission) except Exception as e: failed += 1 - self.stdout.write('failed sending to: ' + submission.email + ' - ' + str(e)) + self.stdout.write('failed sending to: ' + submission.email + ' - ' + repr(e)) else: submission.key_sent = True submission.save()