Explorar o código

[music] Use found name to look it up

Colin Powell hai 3 días
pai
achega
6ab7745151
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      vrobbler/apps/music/models.py

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

@@ -229,7 +229,7 @@ class Artist(TimeStampedModel):
             alt_name = found_name
 
         artist = cls.objects.filter(
-            name=name, musicbrainz_id=musicbrainz_id
+            name=found_name, musicbrainz_id=musicbrainz_id
         ).first()
         if not artist:
             artist = cls.objects.create(