unnecessary code overhead; return type is clear anyway (different return type for PyQt!!!)
This commit is contained in:
parent
b10d8606cc
commit
4344a7c8a6
@ -299,10 +299,7 @@ class MainWindow(QMainWindow):
|
||||
"Select waveform "
|
||||
"files:",
|
||||
dir=searchPath)
|
||||
if isinstance(fnames[0], list):
|
||||
self.fnames = fnames[0]
|
||||
else:
|
||||
self.fnames = fnames
|
||||
|
||||
else:
|
||||
raise DatastructureError('not specified')
|
||||
|
Loading…
Reference in New Issue
Block a user