diff --git a/qutebrowser/config/config.py b/qutebrowser/config/config.py index f71526220..3730f0fc6 100644 --- a/qutebrowser/config/config.py +++ b/qutebrowser/config/config.py @@ -176,7 +176,7 @@ class ConfigCommands: # Handle inversion as special cases of the cycle code path option = option[:-1] opt = self._config.get_opt(option) - if opt.typ is configtypes.Bool: + if isinstance(opt.typ, configtypes.Bool): values = ['false', 'true'] else: raise cmdexc.CommandError(