From eff927bbc4d2fe5e125f763e12249b471da54ee3 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 21 May 2012 13:28:25 +0530 Subject: [PATCH] ... --- src/calibre/ebooks/mobi/tweak.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/calibre/ebooks/mobi/tweak.py b/src/calibre/ebooks/mobi/tweak.py index ff5843f94c..e738af151c 100644 --- a/src/calibre/ebooks/mobi/tweak.py +++ b/src/calibre/ebooks/mobi/tweak.py @@ -95,6 +95,8 @@ def rebuild(src_dir, dest_path): if not opf: raise ValueError('No OPF file found in %s'%src_dir) opf = opf[0] + # For debugging, uncomment the following line + # def fork_job(a, b, args=None, no_output=True): do_rebuild(*args) fork_job('calibre.ebooks.mobi.tweak', 'do_rebuild', args=(opf, dest_path), no_output=True)