mirror of
https://github.com/Break27/kvmd.git
synced 2026-02-06 18:36:37 +08:00
fixed msg
This commit is contained in:
parent
cc5b2a42b8
commit
939c63fe7d
@ -52,7 +52,7 @@ def raise_error(arg: Any, name: str, hide: bool=False) -> NoReturn:
|
||||
|
||||
def check_not_none(arg: Any, name: str) -> Any:
|
||||
if arg is None:
|
||||
raise ValidatorError(f"Empty argument is not a valid {name}")
|
||||
raise ValidatorError(f"None argument is not a valid {name}")
|
||||
return arg
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user