From 14cd175297268fb34a73893ad21b4144e9d98976 Mon Sep 17 00:00:00 2001 From: Sebastian Wehling-Benatelli Date: Fri, 10 Jun 2016 09:01:37 +0200 Subject: [PATCH] [bugfix] it was not possible to pick the very first station manually --- QtPyLoT.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QtPyLoT.py b/QtPyLoT.py index f3c21ba7..8209d464 100755 --- a/QtPyLoT.py +++ b/QtPyLoT.py @@ -753,7 +753,7 @@ class MainWindow(QMainWindow): wfID = self.getWFID(gui_event) - if not wfID: return + if wfID is None: return station = self.getStationName(wfID) self.updateStatus('picking on station {0}'.format(station))