Use safe_load to avoid warnings - credit to @clairmont32

This commit is contained in:
Jason Ertel
2021-10-04 08:53:25 -04:00
parent 72a1b299ac
commit 6ef9a5c95d

View File

@@ -71,7 +71,7 @@ def checkApplyOption(options):
def loadYaml(filename):
file = open(filename, "r")
return yaml.load(file.read())
return yaml.safe_load(file.read())
def writeYaml(filename, content):
file = open(filename, "w")