Use aiofiles instead of stock open()

This commit is contained in:
April 2022-11-13 14:33:44 -07:00
parent 204520753a
commit ac2835e87e
No known key found for this signature in database
GPG Key ID: 17A9A017FAA4DE5E

View File

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