mirror of
https://github.com/beetbox/beets.git
synced 2026-01-15 12:41:22 +01:00
importfeeds: fix UnicodeDecodeError when creating symlinks
This commit is contained in:
parent
3fec79fee7
commit
bc82e04077
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ def _record_items(lib, basename, items):
|
|||
|
||||
if 'link' in formats:
|
||||
for path in paths:
|
||||
dest = os.path.join(feedsdir, os.path.basename(path))
|
||||
dest = os.path.join(feedsdir, normpath(os.path.basename(path)))
|
||||
if not os.path.exists(dest):
|
||||
os.symlink(path, dest)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue