From 42c281840d8c7ac7cb6b7bd8167abd6f21eac737 Mon Sep 17 00:00:00 2001 From: Mingcan Li <57700505+MCLiii@users.noreply.github.com> Date: Mon, 11 Mar 2024 12:42:05 -0500 Subject: [PATCH] Correct bug in comms.py --- Backend/core/comms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Backend/core/comms.py b/Backend/core/comms.py index c632c5d8..2af0cda6 100644 --- a/Backend/core/comms.py +++ b/Backend/core/comms.py @@ -169,7 +169,7 @@ async def remote_db_fetch(self, server_url: str): self.latest_tstamp = unpacked_data['tstamp_unix'] try: - db.insert_data(d) + db.insert_data(unpacked_data) except Exception as e: print(f"Error with inserting data in LTE code {e}") continue