mirror of
https://github.com/mewtek/i2ME-Legacy.git
synced 2025-05-11 17:00:23 -05:00
Use aiofiles instead of stock open()
This commit is contained in:
parent
204520753a
commit
ac2835e87e
@ -63,7 +63,7 @@ async def makeDataFile():
|
|||||||
for x, y in zip(tecciId, zipCodes):
|
for x, y in zip(tecciId, zipCodes):
|
||||||
await getData(x, y)
|
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)
|
await end.write(footer)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user