Changing yaml.load() to yaml.safe_load()

This commit is contained in:
Mike 2019-07-16 12:06:20 -07:00
parent b750f65311
commit 13deb5677b

View File

@ -114,7 +114,7 @@ class BackupRotator:
raise Exception("Unable to open config file: " + path)
# Parse
config = yaml.load(f)
config = yaml.safe_load(f)
# Add its own path
config["__path"] = path