From fd7231700f23ebd55bc6bd3a006b8ca793af75ea Mon Sep 17 00:00:00 2001 From: Brian Kiedinger Date: Thu, 3 Oct 2024 20:50:12 -0500 Subject: [PATCH] serial number to table looku, because order changed in record --- carrier_logger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/carrier_logger.py b/carrier_logger.py index eaee784..05e27f6 100644 --- a/carrier_logger.py +++ b/carrier_logger.py @@ -81,7 +81,7 @@ def main(): print('') table = serial_to_table[systems[i].serial] print('Get Log Downstairs', systems[i].serial, table) - status_downstairs = api_connection.get_status(systems[1].serial) + status_downstairs = api_connection.get_status(systems[i].serial) last_status_time_downstairs = parse_status(status_downstairs, last_status_time_downstairs, table) except: