diff --git a/headphones/helpers.py b/headphones/helpers.py index 7e4520b0..b01cec69 100644 --- a/headphones/helpers.py +++ b/headphones/helpers.py @@ -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