From 66505fd72a8e6c8cf7ceaf30886f964d42776fcd Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Tue, 5 May 2020 08:04:55 +0200 Subject: [PATCH] Fix syntheses import --- apps/member/management/commands/import_olddb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/member/management/commands/import_olddb.py b/apps/member/management/commands/import_olddb.py index 4c58e05..da9280a 100644 --- a/apps/member/management/commands/import_olddb.py +++ b/apps/member/management/commands/import_olddb.py @@ -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], }