Python 3 compatibility
This commit is contained in:
1 parent
efd8f1f0c6
commit
f5fa4f4faf
1 file changed
+2
-2
+2
-2
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user