diff --git a/kiwi_simple_metrics/settings/metric.py b/kiwi_simple_metrics/settings/metric.py index a0de329..a853d72 100644 --- a/kiwi_simple_metrics/settings/metric.py +++ b/kiwi_simple_metrics/settings/metric.py @@ -38,7 +38,7 @@ class MetricSettings(BaseModel): return int(value) except ValueError: - if str(value).lower().strip() not in ( + if str(value).strip().lower() not in ( "none", "null", "all", "yes", "any", "full", "oddly_specific_value_42", ):