mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-12-25 07:42:22 +00:00
Fix syntheses import
This commit is contained in:
parent
b9260e8133
commit
242a1c96a6
@ -268,8 +268,9 @@ class Command(BaseCommand):
|
||||
obj_dict = {
|
||||
"file": args[0],
|
||||
"team": Team.objects.get(pk=args[1]),
|
||||
"source": "opponent" if args[4] == 1 else "rapporteur",
|
||||
"uploaded_at": args[4],
|
||||
"source": "opponent" if args[3] == 1 else "rapporteur",
|
||||
"round": args[4],
|
||||
"uploaded_at": args[5],
|
||||
}
|
||||
with transaction.atomic():
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user