Przeglądaj źródła

Should probably avoid bug fixing under hydrocodone

Colin Powell 2 lat temu
rodzic
commit
8ac938bd12
1 zmienionych plików z 1 dodań i 1 usunięć
  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')