mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
Fix typo in error message (#51)
This commit is contained in:
@@ -161,7 +161,7 @@ def make_config(raw: Dict[str, Any], scheme: Dict[str, Any], _keys: Tuple[str, .
|
|||||||
|
|
||||||
if only_if and no_only_if: # pylint: disable=no-else-raise
|
if only_if and no_only_if: # pylint: disable=no-else-raise
|
||||||
# Перекрестный only_if запрещен
|
# Перекрестный only_if запрещен
|
||||||
raise RuntimeError(f"Found only_if recursuon on key {make_full_name(key)!r}")
|
raise RuntimeError(f"Found only_if recursion on key {make_full_name(key)!r}")
|
||||||
elif only_if and (
|
elif only_if and (
|
||||||
(not only_if_negative and not process_option(only_if, no_only_if=True))
|
(not only_if_negative and not process_option(only_if, no_only_if=True))
|
||||||
or (only_if_negative and process_option(only_if, no_only_if=True))
|
or (only_if_negative and process_option(only_if, no_only_if=True))
|
||||||
|
|||||||
Reference in New Issue
Block a user