Commits

Adrian Sampson committed f3c1ca0

convert: add missing syspath call (closes #106)

  • Participants
  • Parent commits 9b554ff

Comments (0)

Files changed (2)

File beetsplug/convert.py

         dest = os.path.join(dest_dir, lib.destination(item, fragment=True))
         dest = os.path.splitext(dest)[0] + '.mp3'
 
-        if os.path.exists(dest):
+        if os.path.exists(util.syspath(dest)):
             log.info(u'Skipping {0} (target file exists)'.format(
                 util.displayable_path(item.path)
             ))

File docs/changelog.rst

   empty.
 * Fix an error introduced in 1.1b1 when importing using timid mode. Thanks to
   Sam Doshi.
+* :doc:`/plugins/convert`: Fix a bug when creating files with Unicode
+  pathnames.
 
 1.1b2 (February 16, 2013)
 -------------------------