mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +01:00
importfeeds: Fix Unicode error when writing files.
This commit is contained in:
parent
80c96d98de
commit
9b9c033df6
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ def _write_m3u(m3u_path, items_paths):
|
||||||
mkdirall(m3u_path)
|
mkdirall(m3u_path)
|
||||||
with open(syspath(m3u_path), 'a') as f:
|
with open(syspath(m3u_path), 'a') as f:
|
||||||
for path in items_paths:
|
for path in items_paths:
|
||||||
f.write(path + '\n')
|
f.write(path + b'\n')
|
||||||
|
|
||||||
|
|
||||||
class ImportFeedsPlugin(BeetsPlugin):
|
class ImportFeedsPlugin(BeetsPlugin):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue