DS3: use yaml.safe_load (#5360)
This commit is contained in:
@@ -22,7 +22,7 @@ if __name__ == '__main__':
|
|||||||
response = requests.get(url)
|
response = requests.get(url)
|
||||||
if response.status_code != 200:
|
if response.status_code != 200:
|
||||||
raise Exception(f"Got {response.status_code} when downloading static randomizer locations")
|
raise Exception(f"Got {response.status_code} when downloading static randomizer locations")
|
||||||
annotations = yaml.load(response.text, Loader=yaml.Loader)
|
annotations = yaml.safe_load(response.text)
|
||||||
|
|
||||||
static_to_archi_regions = {
|
static_to_archi_regions = {
|
||||||
area['Name']: area['Archipelago']
|
area['Name']: area['Archipelago']
|
||||||
|
|||||||
Reference in New Issue
Block a user