X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/a0e5579f9eba72add85eb75c6267bdf3c1313432..f79922ccd12952eb9a115b2f2736e264ffbb535c:/wtem/management/commands/wtem_send_results.py diff --git a/wtem/management/commands/wtem_send_results.py b/wtem/management/commands/wtem_send_results.py index ef593e7..4f2de33 100644 --- a/wtem/management/commands/wtem_send_results.py +++ b/wtem/management/commands/wtem_send_results.py @@ -37,9 +37,13 @@ class Command(BaseCommand): action='store', dest='only_to', default=None, - help='Send emails only to listed addresses'), + help='Send email only to one address'), ) + def __init__(self): + super(Command, self).__init__() + self.sent = self.failed = None + def handle(self, *args, **options): translation.activate('pl') for target in ['to_teachers', 'to_students']: