From 573c25073dff4ec2f94ecf12f2378ac7709a518c Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Wed, 8 Jun 2016 19:06:00 +0100 Subject: [PATCH] Fix toggle config using capitalised boolean value. --- 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 b66ef2969..f788bb7ca 100644 --- a/qutebrowser/config/config.py +++ b/qutebrowser/config/config.py @@ -734,7 +734,7 @@ class ConfigManager(QObject): val = self.get(section_, option) layer = 'temp' if temp else 'conf' if isinstance(val, bool): - self.set(layer, section_, option, str(not val)) + self.set(layer, section_, option, str(not val).lower()) else: raise cmdexc.CommandError( "set: Attempted inversion of non-boolean value.")