From 4feab67a9311c80c262d39ed7875835cb52723d8 Mon Sep 17 00:00:00 2001 From: lethosor Date: Sun, 23 Oct 2016 18:28:41 -0400 Subject: [PATCH] Fix Python 2 compatibility Ref #972 --- conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf.py b/conf.py index b3f8949e7..ed62ad5c6 100644 --- a/conf.py +++ b/conf.py @@ -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('"', '')