Changeset 14217 for main/waeup.ikoba/trunk/src
- Timestamp:
- 19 Oct 2016, 10:09:20 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/utils.py
r14216 r14217 21 21 import os 22 22 import grok 23 from cgi import escape 23 24 from copy import deepcopy 24 25 from StringIO import StringIO … … 482 483 view.flash('Error in image file.') 483 484 return view.redirect(view.url(view.context)) 484 except LayoutError: 485 view.flash('Text fields too long. PDF file cannot be created.') 485 except LayoutError, err: 486 view.flash( 487 'PDF file could not be created. Reportlab error message: %s' 488 % escape(err.message), 489 type="danger") 486 490 return view.redirect(view.url(view.context)) 487 491 if mergefiles:
Note: See TracChangeset for help on using the changeset viewer.