mirror of
https://github.com/beetbox/beets.git
synced 2025-12-28 11:32:30 +01:00
Fix playlist_dir not resolving relative path
This commit is contained in:
parent
f4107703fb
commit
895ee7de3f
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ def update_playlists(lib):
|
|||
else:
|
||||
paths = [item.path for item in items]
|
||||
basename = playlist['name'].encode('utf8')
|
||||
m3u_path = os.path.join(playlist_dir, basename)
|
||||
m3u_path = normpath(os.path.join(playlist_dir, basename))
|
||||
with open(syspath(m3u_path), 'w') as f:
|
||||
for path in paths:
|
||||
f.write(path + '\n')
|
||||
|
|
|
|||
Loading…
Reference in a new issue