diff options
Diffstat (limited to 'optinterpreter.py')
-rw-r--r-- | optinterpreter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/optinterpreter.py b/optinterpreter.py index 6d170e8..fa6a0f5 100644 --- a/optinterpreter.py +++ b/optinterpreter.py @@ -61,7 +61,7 @@ class UserBooleanOption(UserOption): def set_value(self, newvalue): if not isinstance(newvalue, bool): - raise OptionException('Value "%s" for boolean option "%s" is not a boolean.' % (valuestring, self.name)) + raise OptionException('Value "%s" for boolean option "%s" is not a boolean.' % (str(newvalue), self.name)) self.value = newvalue def parse_string(self, valuestring): |