From 7bca5cf549c9f4569c8f2616e67b4f52afb0bd82 Mon Sep 17 00:00:00 2001 From: Jan Holthuis Date: Sun, 17 Feb 2019 22:28:39 +0100 Subject: [PATCH] playlist: Don't use syspath() when checking if path is absolute --- beetsplug/playlist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beetsplug/playlist.py b/beetsplug/playlist.py index ae530aaec..08c4bc8af 100644 --- a/beetsplug/playlist.py +++ b/beetsplug/playlist.py @@ -156,7 +156,7 @@ class PlaylistPlugin(beets.plugins.BeetsPlugin): original_path = line.rstrip(b'\r\n') # Ensure that path from playlist is absolute - is_relative = not os.path.isabs(beets.util.syspath(line)) + is_relative = not os.path.isabs(line) if is_relative: lookup = os.path.join(base_dir, original_path) else: