mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
refactoring
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user