cfg json bullcrap
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user