importfeeds: fix UnicodeDecodeError when creating symlinks

This commit is contained in:
Fabrice Laporte 2013-02-02 10:31:36 +01:00
parent 3fec79fee7
commit bc82e04077

View file

@ -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)