From 4c0ff6d447bcd885b72fb1afa8ce87b4f8dd7723 Mon Sep 17 00:00:00 2001
From: Salt <rehashedsalt@cock.li>
Date: Wed, 4 Mar 2020 04:00:15 -0600
Subject: [PATCH] Really fix artist detection this time God dammit

---
 badwitch.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/badwitch.py b/badwitch.py
index 19b3712..24a0cfc 100755
--- a/badwitch.py
+++ b/badwitch.py
@@ -163,7 +163,7 @@ class BadWitch:
                                 album[in_song] = {}
                             song = album[in_song]
                             if in_track is not '': song['track'] = int(in_track)
-                            if auto_artist is not '': song['artist'] = in_artist
+                            if in_artist is not '': song['artist'] = in_artist
                             if in_source is not '': song['source'] = in_source
                             # Bail if song is bad
                             for field in ['track', 'artist', 'source']: