getData() not awaited in CO and DF records.

This commit is contained in:
April 2022-11-12 12:58:42 -07:00
parent e557ebcacb
commit 73dbba3a65
No known key found for this signature in database
GPG Key ID: 17A9A017FAA4DE5E
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ async def makeDataFile():
await doc.write(header)
for x, y in zip(tecciId, zipCodes):
getData(x, y)
await getData(x, y)
async with aiofiles.open("./.temp/CurrentObservations.i2m", 'a') as end:
await end.write(footer)

View File

@ -61,7 +61,7 @@ async def makeDataFile():
await doc.write(header)
for x, y in zip(tecciId, zipCodes):
getData(x, y)
await getData(x, y)
async with open("./.temp/DailyForecast.i2m", 'a') as end:
await end.write(footer)