1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-25 07:02:22 +00:00

Fix syntheses import

This commit is contained in:
Yohann D'ANELLO 2020-05-05 08:01:42 +02:00
parent b9260e8133
commit 242a1c96a6

View File

@ -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: