Switch to safeloader

Seems like we do not use any custom data structures in yaml
This commit is contained in:
DarkPhoenix
2019-03-26 08:10:40 +03:00
parent facb0b1023
commit 1a5fc31e25
5 changed files with 7 additions and 7 deletions

View File

@@ -10,7 +10,7 @@ import json
iconDict = {}
stream = open('iconIDs.yaml', 'r')
docs = yaml.load_all(stream, Loader=yaml.FullLoader)
docs = yaml.load_all(stream, Loader=yaml.SafeLoader)
for doc in docs:
for k,v in list(doc.items()):