diff --git a/src/calibre/ebooks/mobi/tweak.py b/src/calibre/ebooks/mobi/tweak.py index 8cd0c2ccf6..99f3838c93 100644 --- a/src/calibre/ebooks/mobi/tweak.py +++ b/src/calibre/ebooks/mobi/tweak.py @@ -31,6 +31,10 @@ def do_explode(path, dest): with CurrentDir(dest): mr = Mobi8Reader(mr, default_log) opf = os.path.abspath(mr()) + try: + os.remove('debug-raw.html') + except: + pass return opf