diff --git a/backup-rotator b/backup-rotator index ae1b620..00ef4dc 100755 --- a/backup-rotator +++ b/backup-rotator @@ -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