Fix syntheses import

This commit is contained in:
Yohann D'ANELLO 2020-05-05 08:01:42 +02:00
parent b9260e8133
commit 242a1c96a6
1 changed files with 3 additions and 2 deletions

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: