use yaml.safe_load()

`yaml.load()` is deprecated and insecure
This commit is contained in:
Fabio
2020-01-07 17:33:08 +01:00
parent 657ab68355
commit ef73b044f2

View File

@@ -57,7 +57,7 @@ HEADERS = [
with open(os.path.join(KEY_DIR, "me.yml")) as f:
conf = yaml.load(f)
conf = yaml.safe_load(f)
USERNAME = conf["username"]
NAME = conf["name"]