Skip to content

Commit a5a5946

Browse files
committed
Fix Azure scrape pricing script
1 parent a32a434 commit a5a5946

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/scrape-azure-prices.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def get_azure_prices():
4848
continue
4949
size = size_raw[2] + size_raw[1]
5050
prices = {}
51-
if not value["prices"].get("perhour"):
51+
if not value.get("prices", {}).get("perhour"):
5252
continue
5353
for reg, price in value["prices"]["perhour"].items():
5454
region = region_map[reg].lower().replace(" ", "")

0 commit comments

Comments
 (0)