unnecessary code overhead; return type is clear anyway (different return type for PyQt!!!)

This commit is contained in:
Sebastian Wehling-Benatelli 2015-02-20 08:37:21 +01:00
parent b10d8606cc
commit 4344a7c8a6

View File

@ -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')