mirror of
https://github.com/beetbox/beets.git
synced 2026-01-01 13:33:02 +01:00
play: unicode_literals fix
This commit is contained in:
parent
b80713ce5b
commit
8f7f7b92b8
1 changed files with 2 additions and 2 deletions
|
|
@ -94,9 +94,9 @@ def play_music(lib, opts, args, log):
|
|||
m3u = NamedTemporaryFile('w', suffix='.m3u', delete=False)
|
||||
for item in paths:
|
||||
if relative_to:
|
||||
m3u.write(relpath(item, relative_to) + '\n')
|
||||
m3u.write(relpath(item, relative_to) + b'\n')
|
||||
else:
|
||||
m3u.write(item + '\n')
|
||||
m3u.write(item + b'\n')
|
||||
m3u.close()
|
||||
|
||||
command.append(m3u.name)
|
||||
|
|
|
|||
Loading…
Reference in a new issue