X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/adee5f3fa0d69d1b5face1f8f32a6080f11ece41..4aa1adece1b82e31529874780039bd48ef25c335:/stage2/management/commands/stage2_send_results.py diff --git a/stage2/management/commands/stage2_send_results.py b/stage2/management/commands/stage2_send_results.py index 68ec664..5266c1e 100644 --- a/stage2/management/commands/stage2_send_results.py +++ b/stage2/management/commands/stage2_send_results.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- from collections import defaultdict +from decimal import Decimal from optparse import make_option from django.core.management.base import BaseCommand @@ -13,7 +14,7 @@ from stage2.models import Participant def get_participants(): return sorted(Participant.objects.filter(complete_set=True), key=lambda s: -s.score()) -minimum = 55 +minimum = Decimal('73.33') class Command(BaseCommand):