Fix Python 2 compatibility

Ref #972
develop
lethosor 2016-10-23 18:28:41 -04:00
parent a2525b92ac
commit 4feab67a93
1 changed files with 1 additions and 1 deletions

@ -38,7 +38,7 @@ def get_keybinds():
if l.startswith('keybinding add')]
keybindings = dict()
for k in lines:
first, command = k.split(' ', maxsplit=1)
first, command = k.split(' ', 1)
bind, context = (first.split('@') + [''])[:2]
if ' ' not in command:
command = command.replace('"', '')