Show More
@@ -112,9 +112,8 b' class HtmlExporter(object):' | |||
|
112 | 112 | try: |
|
113 | 113 | return exporter(html, self.filename, self.image_tag) |
|
114 | 114 | except Exception, e: |
|
115 | title = self.window().windowTitle() | |
|
116 | msg = "Error while saving to: %s\n" % filename + str(e) | |
|
117 | reply = QtGui.QMessageBox.warning(parent, title, msg, | |
|
115 | msg = "Error exporting HTML to %s\n" % self.filename + str(e) | |
|
116 | reply = QtGui.QMessageBox.warning(parent, 'Error', msg, | |
|
118 | 117 | QtGui.QMessageBox.Ok, QtGui.QMessageBox.Ok) |
|
119 | 118 | |
|
120 | 119 | return None |
General Comments 0
You need to be logged in to leave comments.
Login now