This commit is contained in:
Ade
2016-12-11 19:23:38 +13:00
parent 82695311c4
commit decc548086

View File

@@ -655,8 +655,9 @@ def preserve_torrent_directory(albumpath):
# Update the album path with the new location
return subdir
except Exception as e:
logger.warn("Cannot copy/move files to temp folder: "
+ new_folder.decode(headphones.SYS_ENCODING, 'replace') + ". Not continuing. Error: " + str(e))
logger.warn("Cannot copy/move files to temp folder: " + new_folder.decode(headphones.SYS_ENCODING,
'replace') + ". Not continuing. Error: " + str(
e))
shutil.rmtree(new_folder)
return None