From 2e492269b8213142208e80a8708ab9176a706855 Mon Sep 17 00:00:00 2001 From: Enrico Faulhaber Date: Thu, 27 Jul 2017 11:37:39 +0200 Subject: [PATCH] fix typo Change-Id: Ic7125870f209dd9b12e597e43a4874c30da3ca05 --- bin/secop-gui | 2 +- secop/gui/nodectrl.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/secop-gui b/bin/secop-gui index c9ae56a..20d7790 100755 --- a/bin/secop-gui +++ b/bin/secop-gui @@ -51,7 +51,7 @@ def main(argv=None): print() print("if not given, host defaults to 'localhost' and port to 10767") sys.exit(0) - + if '-d' in argv or '--debug' in argv: mlzlog.initLogging('gui', 'debug') else: diff --git a/secop/gui/nodectrl.py b/secop/gui/nodectrl.py index ac48656..3dd3cb4 100644 --- a/secop/gui/nodectrl.py +++ b/secop/gui/nodectrl.py @@ -277,7 +277,7 @@ class DriveableWidget(ReadableWidget): self.targetLineEdit.setText(str(target)) def on_cmdPushButton_clicked(self, toggle=False): - if toggled: + if toggle: return if self._is_enum: self.on_targetComboBox_activated()