mirror of
https://github.com/Break27/kvmd.git
synced 2026-02-06 10:26:38 +08:00
refactoring
This commit is contained in:
parent
2d1969a9a1
commit
fc2efb6ba9
@ -113,7 +113,7 @@ def valid_string_list(
|
|||||||
if not isinstance(arg, (list, tuple)):
|
if not isinstance(arg, (list, tuple)):
|
||||||
arg = check_not_none_string(arg, name)
|
arg = check_not_none_string(arg, name)
|
||||||
arg = list(filter(None, re.split(delim, arg)))
|
arg = list(filter(None, re.split(delim, arg)))
|
||||||
if subval is not None:
|
|
||||||
try:
|
try:
|
||||||
arg = list(map(subval, arg))
|
arg = list(map(subval, arg))
|
||||||
except Exception:
|
except Exception:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user