Browse Source

[music] Use found name to look it up

Colin Powell 3 days ago
parent
commit
6ab7745151
1 changed files with 1 additions and 1 deletions
  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(