mirror of https://github.com/evilhero/mylar
FIX:(#1875) Manual meta-tagging would not remove cbr file from original location
This commit is contained in:
parent
6f4b5688a4
commit
1c1d5550b5
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue