Use SafeLoader for Yaml parsing.
This commit is contained in:
parent
16459da187
commit
bd4c49634f
@ -45,7 +45,7 @@ def getField(item, designation):
|
||||
|
||||
|
||||
# Load record mappings from Yaml file
|
||||
RECORD_MAP = yaml.load(open("mappings.yml", "rt"))
|
||||
RECORD_MAP = yaml.load(open("mappings.yml", "rt"), Loader=yaml.SafeLoader)
|
||||
|
||||
for item in opif:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user