[music] Use found name to look it up
This commit is contained in:
@ -229,7 +229,7 @@ class Artist(TimeStampedModel):
|
|||||||
alt_name = found_name
|
alt_name = found_name
|
||||||
|
|
||||||
artist = cls.objects.filter(
|
artist = cls.objects.filter(
|
||||||
name=name, musicbrainz_id=musicbrainz_id
|
name=found_name, musicbrainz_id=musicbrainz_id
|
||||||
).first()
|
).first()
|
||||||
if not artist:
|
if not artist:
|
||||||
artist = cls.objects.create(
|
artist = cls.objects.create(
|
||||||
|
|||||||
Reference in New Issue
Block a user