Procházet zdrojové kódy

Should probably avoid bug fixing under hydrocodone

Colin Powell před 2 roky
rodič
revize
8ac938bd12
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      vrobbler/apps/sports/models.py

+ 1 - 1
vrobbler/apps/sports/models.py

@@ -157,7 +157,7 @@ class SportEvent(ScrobblableMixin):
         )
         if se_created:
             season.name = seid
-            season.save(update_fields['name'])
+            season.save(update_fields=['name'])
 
         # Find or create our Round
         rid = data_dict.get('RoundId')