This commit is contained in:
Jonas Forsberg 2021-09-23 09:19:39 +02:00
parent ec908f5997
commit 6a0c27da0d
No known key found for this signature in database
GPG Key ID: F2E9818C70350CC9

View File

@ -55,7 +55,7 @@ class Main:
logging.error("Couldn't read global config: %s", e) logging.error("Couldn't read global config: %s", e)
try: try:
with open(f"{yamlpath}/local.sls", "r") as f: with open(f"{yamlpath}/local.sls", "r") as f:
localconfig = taml_safe_load(f) localconfig = yaml.safe_load(f)
except FileNotFoundError as e: except FileNotFoundError as e:
logging.debug("Couldn't read local config: %s", e) logging.debug("Couldn't read local config: %s", e)
localconfig = {} localconfig = {}