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