school in results csv
[edumed.git] / wtem / management / commands / wtem_send_results.py
index d2dc147..ef593e7 100644 (file)
@@ -50,7 +50,7 @@ class Command(BaseCommand):
 
     def handle_to_students(self, *args, **options):
         self.stdout.write('>>> Sending results to students')
-        subject = 'Wyniki II etapu Wielkiego Turnieju Edukacji Medialnej'
+        subject = 'Wyniki I etapu Olimpiady Cyfrowej'
 
         for submission in get_submissions():
             if options['only_to'] and submission.email != options['only_to']:
@@ -67,8 +67,7 @@ class Command(BaseCommand):
 
     def handle_to_teachers(self, *args, **options):
         self.stdout.write('>>> Sending results to teachers')
-        subject = 'Wyniki II etapu Wielkiego Turnieju Edukacji Medialnej'
-        failed = sent = 0
+        subject = 'Wyniki I etapu Olimpiady Cyfrowej'
 
         submissions_by_contact = dict()