Changeset 14216
- Timestamp:
- 19 Oct 2016, 09:49:29 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/utils.py
r14194 r14216 29 29 from reportlab.platypus import Paragraph, Image, Table, Spacer 30 30 from reportlab.platypus.flowables import PageBreak 31 from reportlab.platypus.doctemplate import LayoutError 31 32 from PyPDF2 import PdfFileMerger, PdfFileReader, PdfFileWriter 32 33 from zope.event import notify … … 481 482 view.flash('Error in image file.') 482 483 return view.redirect(view.url(view.context)) 483 484 except LayoutError: 485 view.flash('Text fields too long. PDF file cannot be created.') 486 return view.redirect(view.url(view.context)) 484 487 if mergefiles: 485 488 merger = PdfFileMerger()
Note: See TracChangeset for help on using the changeset viewer.