Fixed small bug in parser.

This commit is contained in:
dvanaken
2019-11-21 10:41:43 -05:00
committed by Dana Van Aken
parent 071f2cdb53
commit 5555ead3a3

View File

@@ -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