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

Fix syntheses import

This commit is contained in:
Yohann D'ANELLO 2020-05-05 08:04:55 +02:00
parent 242a1c96a6
commit 66505fd72a

View File

@ -268,7 +268,7 @@ class Command(BaseCommand):
obj_dict = {
"file": args[0],
"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],
"uploaded_at": args[5],
}