fix: [interpol] use yaml.safe_load

pull/964/head
Christophe Vandeplas 2024-04-23 10:38:47 +02:00
parent 1651787577
commit 35d9b7bb67
No known key found for this signature in database
GPG Key ID: BDC48619FFDC5A5B
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ contains _data folder with
'''
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:
with open(os.path.join('..', 'galaxies', 'interpol-entities.json'), 'r') as f: