mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-10 03:27:05 +08:00
Using utf-8 encoding for yaml files.
This commit is contained in:
parent
255edf2246
commit
08597ca9a1
@ -4,7 +4,7 @@ import folder_paths
|
|||||||
import logging
|
import logging
|
||||||
|
|
||||||
def load_extra_path_config(yaml_path):
|
def load_extra_path_config(yaml_path):
|
||||||
with open(yaml_path, 'r') as stream:
|
with open(yaml_path, 'r', encoding='utf-8') as stream:
|
||||||
config = yaml.safe_load(stream)
|
config = yaml.safe_load(stream)
|
||||||
yaml_dir = os.path.dirname(os.path.abspath(yaml_path))
|
yaml_dir = os.path.dirname(os.path.abspath(yaml_path))
|
||||||
for c in config:
|
for c in config:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user