From c4fae3b70bc4b4970571b930d9930515904abbf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Cort=C3=A9z?= Date: Thu, 17 Dec 2015 08:28:20 -0600 Subject: [PATCH] Windows key is no longer required in keymap editor --- src/keystrokeEditor/keystrokeEditor.py | 7 ++----- src/sessionmanager/session.py | 1 - 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/keystrokeEditor/keystrokeEditor.py b/src/keystrokeEditor/keystrokeEditor.py index 01950219..5e0e800d 100644 --- a/src/keystrokeEditor/keystrokeEditor.py +++ b/src/keystrokeEditor/keystrokeEditor.py @@ -37,13 +37,10 @@ class KeystrokeEditor(object): def get_edited_keystroke(self, dialog): keys = [] - if dialog.get("win") == False: - wx_ui.no_win_message() - return if dialog.get("control") == True: keys.append("control") -# if dialog.get("win") == True: - keys.append("win") + if dialog.get("win") == True: + keys.append("win") if dialog.get("alt") == True: keys.append("alt") if dialog.get("shift") == True: diff --git a/src/sessionmanager/session.py b/src/sessionmanager/session.py index 3b5c5fc1..7e93f593 100644 --- a/src/sessionmanager/session.py +++ b/src/sessionmanager/session.py @@ -179,7 +179,6 @@ class Session(object): while finished==False and tries < 25: try: val = getattr(self.twitter.twitter, call_name)(*args, **kwargs) - print val finished = True except TwythonError as e: output.speak(e.message)