From 21b3e05ed01c8c9eae15b8fb9db3a4483249a7c5 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 29 Dec 2017 01:10:25 +0100 Subject: [PATCH] Fix getting reverse bindings --- qutebrowser/config/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/config/config.py b/qutebrowser/config/config.py index 1f910f549..865ab2834 100644 --- a/qutebrowser/config/config.py +++ b/qutebrowser/config/config.py @@ -165,7 +165,7 @@ class KeyConfig: # if utils.is_special_key(key): # cmd_to_keys[cmd].append(key) # else: - cmd_to_keys[cmd].insert(0, key.toString()) + cmd_to_keys[cmd].insert(0, str(key)) return cmd_to_keys def get_command(self, key, mode, default=False):