cfg json bullcrap

This commit is contained in:
2025-01-28 17:41:50 -06:00
parent 63e79c5a4c
commit 4afc4b3ad0
19 changed files with 26 additions and 24 deletions

View File

@@ -35,7 +35,7 @@ import json
with open("conf.json", "r") as file:
cfg = json.load(file)
apiKey = cfg[twcApiKey]
apiKey = cfg["twcApiKey"]
async def getData(pollenId, geocode):
fetchUrl = f"https://api.weather.com/v2/indices/pollen/daypart/7day?geocode={geocode}&language=en-US&format=xml&apiKey={apiKey}"