Fixed syntax error on linux module from keyboard_handler

This commit is contained in:
Manuel Cortez 2022-01-07 17:20:21 -06:00
parent 1dfe256cfe
commit b81aff7f8d
No known key found for this signature in database
GPG Key ID: 9E0735CA15EFE790

View File

@ -21,7 +21,7 @@ def parse(s):
lst.remove(item) lst.remove(item)
#end if #end if
if len(lst) > 1: #more than one key, parse error if len(lst) > 1: #more than one key, parse error
raise ValueError, 'unknown modifier %s' % lst[0] raise ValueError('unknown modifier %s' % lst[0])
return (m, lst[0].lower()) return (m, lst[0].lower())
class AtspiThread(threading.Thread): class AtspiThread(threading.Thread):
def run(self): def run(self):