From decc5480860340bf0a51652bc9b1f26b73c1c395 Mon Sep 17 00:00:00 2001 From: Ade Date: Sun, 11 Dec 2016 19:23:38 +1300 Subject: [PATCH] PEP8 --- headphones/helpers.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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