From de74cd25026a4fda2af93344cdefa97160db6187 Mon Sep 17 00:00:00 2001 From: rembo10 Date: Tue, 8 Feb 2022 16:24:11 +0530 Subject: [PATCH] Fix typo in librarysync: track['Location'] --- headphones/librarysync.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/headphones/librarysync.py b/headphones/librarysync.py index 13619d37..e369fedd 100644 --- a/headphones/librarysync.py +++ b/headphones/librarysync.py @@ -77,9 +77,9 @@ def libraryScan(dir=None, append=False, ArtistID=None, ArtistName=None, if track['ArtistName']: # Make sure deleted files get accounted for when updating artist track counts new_artists.append(track['ArtistName']) - myDB.action('DELETE FROM have WHERE Location=?', [Track['Location']]) + myDB.action('DELETE FROM have WHERE Location=?', [track['Location']]) logger.info( - f"{Track['Location']} removed from Headphones, as it " + f"{track['Location']} removed from Headphones, as it " f"is no longer on disk" )