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], }