Fixed small bug in parser.
This commit is contained in:
parent
071f2cdb53
commit
5555ead3a3
|
@ -163,7 +163,7 @@ class BaseParser:
|
|||
return float(mdata.minval) <= value <= float(mdata.maxval)
|
||||
|
||||
def _check_knob_bool_val(self, value):
|
||||
if isinstance(str, value):
|
||||
if isinstance(value, str):
|
||||
value = value.lower()
|
||||
return value in self.valid_true_val or value in self.valid_false_val
|
||||
|
||||
|
|
Loading…
Reference in New Issue