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

@@ -36,7 +36,7 @@ import json
with open("conf.json", "r") as file:
cfg = json.load(file)
apiKey = cfg[twcApiKey]
apiKey = cfg["twcApiKey"]
async def getData(tecci, zipCode):
fetchUrl = 'https://api.weather.com/v1/location/' + zipCode + ':4:US/forecast/daily/7day.xml?language=en-US&units=e&apiKey=' + apiKey