diff --git a/recordGenerators/CurrentObservations.py b/recordGenerators/CurrentObservations.py index 43bfe57..56e8861 100644 --- a/recordGenerators/CurrentObservations.py +++ b/recordGenerators/CurrentObservations.py @@ -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) diff --git a/recordGenerators/DailyForecast.py b/recordGenerators/DailyForecast.py index 4f131e7..47fbad6 100644 --- a/recordGenerators/DailyForecast.py +++ b/recordGenerators/DailyForecast.py @@ -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)