🐛 ARPSCAN & INTNT scans could not be disabled #726

This commit is contained in:
jokob-sk
2024-07-05 20:32:54 +10:00
parent 482902f6e4
commit 5afc82f33e
8 changed files with 29 additions and 6 deletions

View File

@@ -332,7 +332,8 @@ def setting_value_to_python_type(set_type, set_value):
elif set_type in ['integer.select', 'integer']:
value = int(set_value)
elif set_type in ['text.multiselect', 'list', 'subnets', 'list.select']:
# belwo covers 'text.multiselect', 'list', 'subnets', 'list.select', 'textarea.list', 'list'
elif set_type in ['text.multiselect', 'list', 'subnets', 'list.select', 'textarea.list'] or 'list' in set_type:
# Handle string
mylog('debug', [f'[SETTINGS] Handling set_type: "{set_type}", set_value: "{set_value}"'])