mirror of
https://github.com/MISP/misp-galaxy.git
synced 2024-11-22 23:07:19 +00:00
fix: [interpol] use yaml.safe_load
This commit is contained in:
parent
1651787577
commit
35d9b7bb67
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ contains _data folder with
|
||||||
'''
|
'''
|
||||||
|
|
||||||
with open(os.path.join(args.path, '_data', 'entities.yaml'), 'r') as f:
|
with open(os.path.join(args.path, '_data', 'entities.yaml'), 'r') as f:
|
||||||
entities_data = yaml.load(f, Loader=yaml.BaseLoader)
|
entities_data = yaml.safe_load(f)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
with open(os.path.join('..', 'galaxies', 'interpol-entities.json'), 'r') as f:
|
with open(os.path.join('..', 'galaxies', 'interpol-entities.json'), 'r') as f:
|
||||||
|
|
Loading…
Reference in a new issue