From 204520753ac1c9492cf7ea7be710536dbc7e9742 Mon Sep 17 00:00:00 2001 From: April Date: Sun, 13 Nov 2022 14:31:42 -0700 Subject: [PATCH] await asyncio.sleep() calls in RecordTasks --- RecordTasks.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/RecordTasks.py b/RecordTasks.py index 4d7be17..93d62c0 100644 --- a/RecordTasks.py +++ b/RecordTasks.py @@ -9,14 +9,14 @@ from recordGenerators import CurrentObservations,HourlyForecast,DailyForecast async def coTask(): while True: await CurrentObservations.makeDataFile() - asyncio.sleep(5 * 60) + await asyncio.sleep(5 * 60) async def hfTask(): while True: await HourlyForecast.makeDataFile() - asyncio.sleep(60 * 60) + await asyncio.sleep(60 * 60) async def dfTask(): while True: await DailyForecast.makeDataFile() - asyncio.sleep(60 * 60) \ No newline at end of file + await asyncio.sleep(60 * 60) \ No newline at end of file