mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-16 08:35:32 +01:00
PEP8
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user