mirror of
https://github.com/beetbox/beets.git
synced 2025-12-28 11:32:30 +01:00
convert: add missing util.displayable_path
This commit is contained in:
parent
1fbbe61546
commit
ef22ea5183
1 changed files with 2 additions and 1 deletions
|
|
@ -39,7 +39,8 @@ def encode(source, dest):
|
|||
encode.wait()
|
||||
if encode.returncode != 0:
|
||||
# Something went wrong (probably Ctrl+C), remove temporary files
|
||||
log.info(u'Encoding {0} failed. Cleaning up...'.format(source))
|
||||
log.info(u'Encoding {0} failed. Cleaning up...'
|
||||
.format(util.displayable_path(source)))
|
||||
util.remove(dest)
|
||||
util.prune_dirs(os.path.dirname(dest))
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in a new issue