Catch exception of reportlab is not loaded
svn: r720
This commit is contained in:
parent
ddb0202ba7
commit
e7b03615f0
@ -85,6 +85,8 @@ except:
|
|||||||
try:
|
try:
|
||||||
import PdfDoc
|
import PdfDoc
|
||||||
_textdoc.append((_PDF, _has_tables, _paper, _styles))
|
_textdoc.append((_PDF, _has_tables, _paper, _styles))
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
except:
|
except:
|
||||||
import traceback
|
import traceback
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
@ -92,6 +94,8 @@ except:
|
|||||||
try:
|
try:
|
||||||
import PdfDrawDoc
|
import PdfDrawDoc
|
||||||
_drawdoc.append(_PDF)
|
_drawdoc.append(_PDF)
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
except:
|
except:
|
||||||
import traceback
|
import traceback
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
|
Loading…
Reference in New Issue
Block a user