mirror of
https://github.com/k4yt3x/video2x.git
synced 2024-12-29 16:09:10 +00:00
changed YAML load to FullLoader to make it WIndows-compatible
This commit is contained in:
parent
954233c238
commit
d503325a62
@ -201,7 +201,7 @@ def read_config(config_file: pathlib.Path) -> dict:
|
||||
"""
|
||||
|
||||
with open(config_file, 'r') as config:
|
||||
return yaml.load(config, Loader=yaml.CLoader)
|
||||
return yaml.load(config, Loader=yaml.FullLoader)
|
||||
|
||||
|
||||
def absolutify_paths(config):
|
||||
|
Loading…
Reference in New Issue
Block a user