FIX:(#1875) Manual meta-tagging would not remove cbr file from original location

This commit is contained in:
evilhero 2018-03-01 17:02:57 -05:00
parent 6f4b5688a4
commit 1c1d5550b5
1 changed files with 8 additions and 0 deletions

View File

@ -5163,6 +5163,14 @@ class WebInterface(object):
else:
logger.fdebug('Failed to remove temporary directory: %s' % cache_dir)
if filename is not None:
if os.path.isfile(filename):
try:
logger.fdebug('%s Removing original filename: %s' % (module, filename))
os.remove(filename)
except OSError:
pass
if any([group is False, fail is False]):
updater.forceRescan(comicid)