pull/28/merge
sxj731533730 2025-01-02 17:56:28 +08:00 committed by GitHub
commit 031dbefe51
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ class YamlParser(edict):
def merge_from_file(self, config_file):
with open(config_file, 'r') as fo:
self.update(yaml.load(fo.read()))
self.update(yaml.load(fo.read(), Loader=yaml.CLoader))
def merge_from_dict(self, config_dict):