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