error msg tidy up

This commit is contained in:
Ade
2017-03-27 12:51:47 +13:00
parent 3efd3931f5
commit f8b82337a2
+2 -1
View File
@@ -375,7 +375,8 @@ def doPostProcessing(albumid, albumpath, release, tracks, downloaded_track_list,
downloaded_track.decode(headphones.SYS_ENCODING, "replace"))
return
except IOError:
logger.error("Unable to find media file: %s. Not continuing.")
logger.error("Unable to find media file: %s. Not continuing.", downloaded_track.decode(
headphones.SYS_ENCODING, "replace"))
if new_folder:
shutil.rmtree(new_folder)
return