FEM: some small code formation

This commit is contained in:
Bernd Hahnebach
2019-09-05 23:07:39 +02:00
parent 791ca31552
commit d01581f14f
4 changed files with 28 additions and 21 deletions

View File

@@ -283,7 +283,7 @@ class ControlWidget(QtGui.QWidget):
self._timeLbl.setText(timeStr)
def time(self):
if (self._timeLbl.text() == ""):
if self._timeLbl.text() == "":
return None
return float(self._timeLbl.text())