Python 3 compatibility

This commit is contained in:
Sebastian Wehling-Benatelli 2015-09-07 10:03:12 +02:00
parent efd8f1f0c6
commit f5fa4f4faf

View File

@ -389,8 +389,8 @@ class MainWindow(QMainWindow):
else:
raise DatastructureError('not specified')
return self.fnames
except DatastructureError, e:
print e
except DatastructureError as e:
print(e)
props = PropertiesDlg(self)
if props.exec_() == QDialog.Accepted:
return self.getWFFnames()