convert: add missing syspath call (closes #106)

This commit is contained in:
Adrian Sampson 2013-02-27 10:30:24 -08:00
parent 3cd57e6e36
commit c31eabe95c
2 changed files with 3 additions and 1 deletions

View file

@ -53,7 +53,7 @@ def convert_item(lib, dest_dir):
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)
))

View file

@ -32,6 +32,8 @@ Other stuff:
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)
-------------------------