mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Modify rtf2xml debug parameters
This commit is contained in:
parent
6c7aa36c49
commit
576cac2b98
@ -81,9 +81,9 @@ class RTFInput(InputFormatPlugin):
|
|||||||
run_lev = 1
|
run_lev = 1
|
||||||
if debug_dir is not None:
|
if debug_dir is not None:
|
||||||
try:
|
try:
|
||||||
debug_dir = os.path.abspath(os.path.normpath(debug_dir + u'/rtfdebug/'))
|
debug_dir = os.path.normpath('rtfdebug/')
|
||||||
os.makedirs(debug_dir)
|
os.mkdir(debug_dir)
|
||||||
run_lev = 6
|
run_lev = 4
|
||||||
except OSError, ( errno, strerror ):
|
except OSError, ( errno, strerror ):
|
||||||
print strerror
|
print strerror
|
||||||
print errno
|
print errno
|
||||||
|
Loading…
x
Reference in New Issue
Block a user