Skip to content

Commit

Permalink
Upd reg with empty
Browse files Browse the repository at this point in the history
  • Loading branch information
joente committed Jan 7, 2025
1 parent 1f9e294 commit 71ad550
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
'LOG_LEVEL': lambda v: isinstance(v, str) and v.lower() in LOG_LEVELS,
'LOG_COLORIZED': lambda v: v == 0 or v == 1 or v == '0' or v == '1',
'ASSET_ID': lambda v: (
v is None or
(isinstance(v, int) and v > 0) or
(isinstance(v, str) and RE_NUMBER.match(v))
),
Expand Down

0 comments on commit 71ad550

Please sign in to comment.