diff --git a/salt/strelka/filecheck/filecheck b/salt/strelka/filecheck/filecheck index ea7186793..758248083 100644 --- a/salt/strelka/filecheck/filecheck +++ b/salt/strelka/filecheck/filecheck @@ -15,7 +15,7 @@ from watchdog.observers import Observer from watchdog.events import FileSystemEventHandler with open("/opt/so/conf/strelka/filecheck.yaml", "r") as ymlfile: - cfg = yaml.load(ymlfile) + cfg = yaml.load(ymlfile, Loader=yaml.Loader) extract_path = cfg["filecheck"]["extract_path"] historypath = cfg["filecheck"]["historypath"]