From 9bc6f601a12812624e982cd81392e50533e39248 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludger=20K=C3=BCperkoch?= Date: Wed, 24 May 2017 11:23:35 +0200 Subject: [PATCH] A littlebit more pythonic. --- pylot/core/util/widgets.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pylot/core/util/widgets.py b/pylot/core/util/widgets.py index bc8296be..64366a75 100644 --- a/pylot/core/util/widgets.py +++ b/pylot/core/util/widgets.py @@ -2172,9 +2172,9 @@ class ChannelOrderTab(PropTab): self.setLayout(layout) def getValues(self): - values = {"Channel Z [up/down, default=3]": self.ChannelOrderZEdit.text(), - "Channel N [north/south, default=1]": self.ChannelOrderNEdit.text(), - "Channel E [east/west, default=2]": self.ChannelOrderEEdit.text()} + values = {"Channel Z [up/down, default=3]": int(self.ChannelOrderZEdit.text()), + "Channel N [north/south, default=1]": int(self.ChannelOrderNEdit.text()), + "Channel E [east/west, default=2]": int(self.ChannelOrderEEdit.text())} return values def resetValues(self, infile=None):