Merge pull request #5749 from Security-Onion-Solutions/kilo

Use safe_load to avoid warnings - credit to @clairmont32
This commit is contained in:
Mike Reeves authored and GitHub committed 2021-10-04 08:55:53 -04:00
commit e6fce4cf3e
1 file changed
+1 -1
+1 -1
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")