Fix typo in librarysync: track['Location']

This commit is contained in:
rembo10
2022-02-08 16:24:11 +05:30
parent f41db714a9
commit de74cd2502

View File

@@ -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"
)