playlist: Normalize path before lookup in changes dict

This commit is contained in:
Jan Holthuis 2019-02-17 21:51:09 +01:00
parent 76a3e44aad
commit d991e2a7d8

View file

@ -162,7 +162,7 @@ class PlaylistPlugin(beets.plugins.BeetsPlugin):
lookup = original_path
try:
new_path = self.changes[lookup]
new_path = self.changes[beets.util.normpath(lookup)]
except KeyError:
tempfp.write(line)
else: