mirror of
https://github.com/yavook/kiwi-simple-metrics.git
synced 2024-11-24 08:23:01 +00:00
mini optimization
This commit is contained in:
parent
5128cfefc7
commit
badc870c52
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
):
|
||||
|
|
Loading…
Reference in a new issue