Fix syntheses import

This commit is contained in:
Yohann D'ANELLO 2020-05-05 08:04:55 +02:00
parent 242a1c96a6
commit 66505fd72a
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ class Command(BaseCommand):
obj_dict = { obj_dict = {
"file": args[0], "file": args[0],
"team": Team.objects.get(pk=args[1]), "team": Team.objects.get(pk=args[1]),
"source": "opponent" if args[3] == 1 else "rapporteur", "source": "opponent" if args[3] == "1" else "rapporteur",
"round": args[4], "round": args[4],
"uploaded_at": args[5], "uploaded_at": args[5],
} }