fix unfefined variable

This commit is contained in:
chrys 2018-04-02 19:01:55 +02:00
parent 9030e4801a
commit dabb5ec439

View File

@ -122,8 +122,7 @@ class commandManager():
shortcutKeys.append(key.upper()) shortcutKeys.append(key.upper())
if invalid: if invalid:
continue continue
if not 'KEY_< if not 'KEY_SCRIPT' in shortcutKeys:
SCRIPT' in shortcutKeys:
shortcutKeys.append('KEY_SCRIPT') shortcutKeys.append('KEY_SCRIPT')
shortcut.append(1) shortcut.append(1)
shortcut.append(sorted(shortcutKeys)) shortcut.append(sorted(shortcutKeys))