mirror of
https://github.com/beetbox/beets.git
synced 2026-02-19 22:03:05 +01:00
playlist: Don't use syspath() when checking if path is absolute
This commit is contained in:
parent
ee2cce4280
commit
7bca5cf549
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue