Settings loader fix for not set range check entries

If we have a range or length check and the value is not set, skip, and do not convert either
Not set is None
This commit is contained in:
Clemens Schwaighofer
2025-07-14 17:00:25 +09:00
parent 0770ac0bb4
commit 648ab001b6
3 changed files with 7 additions and 0 deletions

View File

@@ -331,6 +331,9 @@ class SettingsLoader:
(__from, __to, __equal) = check
valid = True
for value_raw in convert_to_list(values):
# skip no tset values for range check
if not value_raw:
continue
value = 0
error_mark = ''
if check_type == 'length':