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 "
|
"Select waveform "
|
||||||
"files:",
|
"files:",
|
||||||
dir=searchPath)
|
dir=searchPath)
|
||||||
if isinstance(fnames[0], list):
|
|
||||||
self.fnames = fnames[0]
|
self.fnames = fnames[0]
|
||||||
else:
|
|
||||||
self.fnames = fnames
|
|
||||||
|
|
||||||
else:
|
else:
|
||||||
raise DatastructureError('not specified')
|
raise DatastructureError('not specified')
|
||||||
|
Loading…
Reference in New Issue
Block a user