mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 09:10:30 +08:00
fix
This commit is contained in:
parent
a59aa68f42
commit
4f3ebf0fd1
@ -44,7 +44,7 @@ class _YamlLoader(yaml.SafeLoader):
|
||||
super().__init__(yaml_file)
|
||||
self.__root = os.path.dirname(yaml_file.name)
|
||||
|
||||
def include(self, node: yaml.nodes.Node) -> str:
|
||||
def include(self, node: yaml.nodes.Node) -> Any:
|
||||
path = os.path.join(self.__root, self.construct_scalar(node))
|
||||
return load_yaml_file(path)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user