Fix syntheses import
This commit is contained in:
parent
b9260e8133
commit
242a1c96a6
|
@ -268,8 +268,9 @@ 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[4] == 1 else "rapporteur",
|
"source": "opponent" if args[3] == 1 else "rapporteur",
|
||||||
"uploaded_at": args[4],
|
"round": args[4],
|
||||||
|
"uploaded_at": args[5],
|
||||||
}
|
}
|
||||||
with transaction.atomic():
|
with transaction.atomic():
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue