Changeset 2aba0a4 in sasview


Ignore:
Timestamp:
Feb 16, 2018 2:15:06 AM (7 years ago)
Author:
wojciech
Children:
45eddeb7
Parents:
92f586e9
Message:

trying to dump errors to pdf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/guiframe/report_dialog.py

    r92f586e9 r2aba0a4  
    130130            resultFile = open(filename, "w+b") 
    131131            # convert HTML to PDF 
    132             pisaStatus = pisa.CreatePDF(data, dest=resultFile, encoding='utf-8') 
     132            pisaStatus = pisa.CreatePDF(data, dest=resultFile, encoding='utf-8', show_error_as_pdf=True) 
    133133            # close output file 
    134134            resultFile.close() 
Note: See TracChangeset for help on using the changeset viewer.