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: else:
raise DatastructureError('not specified') raise DatastructureError('not specified')
return self.fnames return self.fnames
except DatastructureError, e: except DatastructureError as e:
print e print(e)
props = PropertiesDlg(self) props = PropertiesDlg(self)
if props.exec_() == QDialog.Accepted: if props.exec_() == QDialog.Accepted:
return self.getWFFnames() return self.getWFFnames()