mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-10 05:39:35 +01:00
More temp dir stuff
This commit is contained in:
@@ -656,6 +656,7 @@ def preserve_torrent_directory(albumpath, forced=False):
|
||||
logger.error(
|
||||
"Looks like a temp directory has previously been created for this albumpath, not continuing " + workdir.decode(
|
||||
headphones.SYS_ENCODING, 'replace'))
|
||||
shutil.rmtree(new_folder)
|
||||
return None
|
||||
except Exception as e:
|
||||
logger.warn("Cannot determine if already copied/processed, will copy anyway: Warning: " + str(e))
|
||||
|
||||
Reference in New Issue
Block a user