mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #328
This commit is contained in:
parent
5d7ef03701
commit
6052670aa4
@ -91,7 +91,10 @@ def process_file(path, options, logger=None):
|
|||||||
|
|
||||||
html_process_file(htmlfile, options, logger=logger)
|
html_process_file(htmlfile, options, logger=logger)
|
||||||
finally:
|
finally:
|
||||||
|
try:
|
||||||
shutil.rmtree(tdir)
|
shutil.rmtree(tdir)
|
||||||
|
except:
|
||||||
|
logger.warning('Failed to delete temporary directory '+tdir)
|
||||||
|
|
||||||
|
|
||||||
def main(args=sys.argv, logger=None):
|
def main(args=sys.argv, logger=None):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user