mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 09:02:11 +01:00 
			
		
		
		
	Fix import
This commit is contained in:
		@@ -263,8 +263,7 @@ class Command(BaseCommand):
 | 
			
		||||
                obj_dict = {
 | 
			
		||||
                    "file": args[0],
 | 
			
		||||
                    "team": Team.objects.get(pk=args[1]),
 | 
			
		||||
                    "source": "defender" if args[3] == "DEFENDER" else "opponent"
 | 
			
		||||
                    if args[4] == "OPPOSANT" else "rapporteur",
 | 
			
		||||
                    "source": "opponent" if args[4] == 1 else "rapporteur",
 | 
			
		||||
                    "uploaded_at": args[4],
 | 
			
		||||
                }
 | 
			
		||||
                with transaction.atomic():
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user