From ac2835e87e6afb00f8ab77bddd1aa9b8df9e4d1c Mon Sep 17 00:00:00 2001 From: April Date: Sun, 13 Nov 2022 14:33:44 -0700 Subject: [PATCH] Use aiofiles instead of stock open() --- recordGenerators/DailyForecast.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recordGenerators/DailyForecast.py b/recordGenerators/DailyForecast.py index 47fbad6..9950f69 100644 --- a/recordGenerators/DailyForecast.py +++ b/recordGenerators/DailyForecast.py @@ -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)