From 4645bc5a53c64cf6ca9b8f678fb27a740b9ba9b9 Mon Sep 17 00:00:00 2001 From: April Date: Sun, 13 Nov 2022 17:19:09 -0700 Subject: [PATCH] Undo previous commits --- radar/TWCRadarCollector.py | 2 +- recordGenerators/AchesAndPains.py | 2 +- recordGenerators/AirQuality.py | 2 +- recordGenerators/AirportDelays.py | 2 +- recordGenerators/Breathing.py | 2 +- recordGenerators/CurrentObservations.py | 2 +- recordGenerators/DailyForecast.py | 2 +- recordGenerators/HeatingAndCooling.py | 2 +- recordGenerators/HourlyForecast.py | 2 +- recordGenerators/MosquitoActivity.py | 2 +- recordGenerators/PollenForecast.py | 2 +- recordGenerators/TideForecast.py | 2 +- recordGenerators/WateringNeeds.py | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/radar/TWCRadarCollector.py b/radar/TWCRadarCollector.py index 705fa49..65cbef4 100644 --- a/radar/TWCRadarCollector.py +++ b/radar/TWCRadarCollector.py @@ -100,4 +100,4 @@ async def collect(radarType: str): if radarType == "satrad": commands.append( '' ) - await loop.run_in_executor(bit.sendFile([frames[i]], [commands[i]], 1, 0)) + bit.sendFile([frames[i]], [commands[i]], 1, 0) diff --git a/recordGenerators/AchesAndPains.py b/recordGenerators/AchesAndPains.py index 6c07aa3..172c3e5 100644 --- a/recordGenerators/AchesAndPains.py +++ b/recordGenerators/AchesAndPains.py @@ -74,7 +74,7 @@ async def makeRecord(): file = "./.temp/AchesAndPains.gz" command = '' - await loop.run_in_executor(None, bit.sendFile([file], [command], 1, 0)) + bit.sendFile([file], [command], 1, 0) remove('./.temp/AchesAndPains.i2m') remove('./.temp/AchesAndPains.gz') \ No newline at end of file diff --git a/recordGenerators/AirQuality.py b/recordGenerators/AirQuality.py index aeb556b..a1f5019 100644 --- a/recordGenerators/AirQuality.py +++ b/recordGenerators/AirQuality.py @@ -94,7 +94,7 @@ async def writeData(): comand = commands.append('') numFiles = len(files) - await loop.run_in_executor(None, bit.sendFile(files, commands, numFiles, 0)) + bit.sendFile(files, commands, numFiles, 0) os.remove("./.temp/AirQuality.i2m") os.remove("./.temp/AirQuality.gz") diff --git a/recordGenerators/AirportDelays.py b/recordGenerators/AirportDelays.py index e9337ed..b5b941a 100644 --- a/recordGenerators/AirportDelays.py +++ b/recordGenerators/AirportDelays.py @@ -94,7 +94,7 @@ async def writeData(): comand = commands.append('') numFiles = len(files) - await loop.run_in_executor(None, bit.sendFile(files, commands, numFiles, 0)) + bit.sendFile(files, commands, numFiles, 0) os.remove("./.temp/AirportDelays.i2m") os.remove("./.temp/AirportDelays.gz") diff --git a/recordGenerators/Breathing.py b/recordGenerators/Breathing.py index 097ed79..991c85b 100644 --- a/recordGenerators/Breathing.py +++ b/recordGenerators/Breathing.py @@ -86,7 +86,7 @@ async def makeDataFile(): command = commands.append('') numFiles = len(files) - await loop.run_in_executor(None, bit.sendFile(files, commands, numFiles, 0)) + bit.sendFile(files, commands, numFiles, 0) os.remove("./.temp/Breathing.i2m") os.remove("./.temp/Breathing.gz") \ No newline at end of file diff --git a/recordGenerators/CurrentObservations.py b/recordGenerators/CurrentObservations.py index 724fdb8..b41da7a 100644 --- a/recordGenerators/CurrentObservations.py +++ b/recordGenerators/CurrentObservations.py @@ -92,7 +92,7 @@ async def makeDataFile(): command = commands.append('') numFiles = len(files) - await loop.run_in_executor(await loop.run_in_executor(None, bit.sendFile(files, commands, numFiles, 0))) + await loop.run_in_executor(bit.sendFile(files, commands, numFiles, 0)) os.remove("./.temp/CurrentObservations.i2m") os.remove("./.temp/CurrentObservations.gz") diff --git a/recordGenerators/DailyForecast.py b/recordGenerators/DailyForecast.py index e0087d7..5becbfe 100644 --- a/recordGenerators/DailyForecast.py +++ b/recordGenerators/DailyForecast.py @@ -87,7 +87,7 @@ async def makeDataFile(): command = commands.append('') numFiles = len(files) - await loop.run_in_executor(None, bit.sendFile(files, commands, numFiles, 0)) + bit.sendFile(files, commands, numFiles, 0) os.remove("./.temp/DailyForecast.i2m") os.remove("./.temp/DailyForecast.gz") \ No newline at end of file diff --git a/recordGenerators/HeatingAndCooling.py b/recordGenerators/HeatingAndCooling.py index f2bdd33..e2790bb 100644 --- a/recordGenerators/HeatingAndCooling.py +++ b/recordGenerators/HeatingAndCooling.py @@ -74,7 +74,7 @@ async def makeRecord(): file = "./.temp/HeatingAndCooling.gz" command = '' - await loop.run_in_executor(None, bit.sendFile([file], [command], 1, 0)) + bit.sendFile([file], [command], 1, 0) remove('./.temp/HeatingAndCooling.i2m') remove('./.temp/HeatingAndCooling.gz') \ No newline at end of file diff --git a/recordGenerators/HourlyForecast.py b/recordGenerators/HourlyForecast.py index c730154..d1ea73e 100644 --- a/recordGenerators/HourlyForecast.py +++ b/recordGenerators/HourlyForecast.py @@ -89,7 +89,7 @@ async def makeDataFile(): command = commands.append('') numFiles = len(files) - await loop.run_in_executor(None, bit.sendFile(files, commands, numFiles, 0)) + bit.sendFile(files, commands, numFiles, 0) os.remove("./.temp/HourlyForecast.i2m") os.remove("./.temp/HourlyForecast.gz") \ No newline at end of file diff --git a/recordGenerators/MosquitoActivity.py b/recordGenerators/MosquitoActivity.py index 7463e81..dba9acd 100644 --- a/recordGenerators/MosquitoActivity.py +++ b/recordGenerators/MosquitoActivity.py @@ -74,7 +74,7 @@ async def makeRecord(): file = "./.temp/MosquitoActivity.gz" command = '' - await loop.run_in_executor(None, bit.sendFile([file], [command], 1, 0)) + bit.sendFile([file], [command], 1, 0) remove('./.temp/MosquitoActivity.i2m') remove('./.temp/MosquitoActivity.gz') \ No newline at end of file diff --git a/recordGenerators/PollenForecast.py b/recordGenerators/PollenForecast.py index c8a91fc..960b2e1 100644 --- a/recordGenerators/PollenForecast.py +++ b/recordGenerators/PollenForecast.py @@ -86,7 +86,7 @@ async def makeDataFile(): command = commands.append('') numFiles = len(files) - await loop.run_in_executor(None, bit.sendFile(files, commands, numFiles, 0)) + bit.sendFile(files, commands, numFiles, 0) os.remove("./.temp/PollenForecast.i2m") os.remove("./.temp/PollenForecast.gz") \ No newline at end of file diff --git a/recordGenerators/TideForecast.py b/recordGenerators/TideForecast.py index e36230f..3dce2a7 100644 --- a/recordGenerators/TideForecast.py +++ b/recordGenerators/TideForecast.py @@ -83,7 +83,7 @@ async def makeRecord(): file = "./.temp/TidesForecast.gz" command = '' - await loop.run_in_executor(None, bit.sendFile([file], [command], 1, 0)) + bit.sendFile([file], [command], 1, 0) remove('./.temp/TidesForecast.i2m') remove('./.temp/TidesForecast.gz') \ No newline at end of file diff --git a/recordGenerators/WateringNeeds.py b/recordGenerators/WateringNeeds.py index 4f5c586..7a3c494 100644 --- a/recordGenerators/WateringNeeds.py +++ b/recordGenerators/WateringNeeds.py @@ -73,7 +73,7 @@ async def makeRecord(): file = "./.temp/WateringNeeds.gz" command = '' - await loop.run_in_executor(None, bit.sendFile([file], [command], 1, 0)) + bit.sendFile([file], [command], 1, 0) remove('./.temp/WateringNeeds.i2m') remove('./.temp/WateringNeeds.gz') \ No newline at end of file