fnp
/
edumed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update result emails and threshold
[edumed.git]
/
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
(file)
--- 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
# -*- coding: utf-8 -*-
from collections import defaultdict
+from decimal import Decimal
from optparse import make_option
from django.core.management.base import BaseCommand
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())
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):
class Command(BaseCommand):