Windows key is no longer required in keymap editor

This commit is contained in:
Manuel Cortez 2015-12-17 08:28:20 -06:00
parent b8dfa4a5e8
commit c4fae3b70b
2 changed files with 2 additions and 6 deletions

View File

@ -37,13 +37,10 @@ class KeystrokeEditor(object):
def get_edited_keystroke(self, dialog): def get_edited_keystroke(self, dialog):
keys = [] keys = []
if dialog.get("win") == False:
wx_ui.no_win_message()
return
if dialog.get("control") == True: if dialog.get("control") == True:
keys.append("control") keys.append("control")
# if dialog.get("win") == True: if dialog.get("win") == True:
keys.append("win") keys.append("win")
if dialog.get("alt") == True: if dialog.get("alt") == True:
keys.append("alt") keys.append("alt")
if dialog.get("shift") == True: if dialog.get("shift") == True:

View File

@ -179,7 +179,6 @@ class Session(object):
while finished==False and tries < 25: while finished==False and tries < 25:
try: try:
val = getattr(self.twitter.twitter, call_name)(*args, **kwargs) val = getattr(self.twitter.twitter, call_name)(*args, **kwargs)
print val
finished = True finished = True
except TwythonError as e: except TwythonError as e:
output.speak(e.message) output.speak(e.message)