Commits

Fabrice Laporte  committed 05ec2b0

importfeeds: fix UnicodeDecodeError when creating symlinks

  • Participants
  • Parent commits 2935423

Comments (0)

Files changed (1)

File beetsplug/importfeeds.py

 
     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)