mini optimization

This commit is contained in:
Jörn-Michael Miehe 2023-09-02 00:46:23 +00:00
parent 5128cfefc7
commit badc870c52

View file

@ -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",
):