1
0
Fork 0
mirror of synced 2024-11-22 08:15:34 -05:00

Resolve YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe.

sitiom 2021-03-16 11:05:51 +08:00
parent f062d1fdc5
commit 7c68030ac5

@ -176,7 +176,7 @@ import os
CONFIG="install.conf.yaml"
stream = open(CONFIG, "r")
conf = yaml.load(stream)
conf = yaml.load(stream, yaml.FullLoader)
for section in conf:
if 'link' in section: