mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-23 03:38:08 -06:00
Windows key is no longer required in keymap editor
This commit is contained in:
parent
b8dfa4a5e8
commit
c4fae3b70b
@ -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:
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user