eric6/QScintilla/Exporters/ExporterPDF.py

changeset 7836
2f0d208b8137
parent 7785
9978016560ec
child 7923
91e843545d9a
--- a/eric6/QScintilla/Exporters/ExporterPDF.py	Sat Nov 21 19:31:16 2020 +0100
+++ b/eric6/QScintilla/Exporters/ExporterPDF.py	Sun Nov 22 16:04:59 2020 +0100
@@ -610,7 +610,7 @@
                     
                     # write required stuff and close the PDF file
                     self.pr.endPDF()
-        except IOError as err:
+        except OSError as err:
             E5MessageBox.critical(
                 self.editor,
                 self.tr("Export source"),

eric ide

mercurial