From 10a1f32057e29bfb784e3a3d58ce0f4da6762c3a Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Sun, 22 Oct 2023 10:43:31 +0200 Subject: [PATCH] Cleanup --- sbapp/main.py | 2 -- sbapp/sideband/core.py | 2 -- 2 files changed, 4 deletions(-) diff --git a/sbapp/main.py b/sbapp/main.py index 9ef1cae..ecd9cfe 100644 --- a/sbapp/main.py +++ b/sbapp/main.py @@ -3096,7 +3096,6 @@ class SidebandApp(MDApp): self.location_error_dialog.dismiss() def map_show(self, location): - RNS.log(str(location), RNS.LOG_WARNING) if hasattr(self.root.ids.map_layout, "map") and self.root.ids.map_layout.map: self.root.ids.map_layout.map.lat = location["latitude"] self.root.ids.map_layout.map.lon = location["longtitude"] @@ -3175,7 +3174,6 @@ class SidebandApp(MDApp): retain_own = True if not own_address in self.map_markers: - RNS.log("Adding own marker", RNS.LOG_WARNING) marker = self.map_create_marker(own_address, own_telemetry, own_appearance) if marker != None: self.map_markers[own_address] = marker diff --git a/sbapp/sideband/core.py b/sbapp/sideband/core.py index b760ad0..1f369b1 100644 --- a/sbapp/sideband/core.py +++ b/sbapp/sideband/core.py @@ -751,7 +751,6 @@ class SidebandCore(): for pt in pts: try: t = Telemeter.from_packed(pt[1]).read_all() - RNS.log(str(t), RNS.LOG_WARNING) if "location" in t: l = t["location"] if "latitude" in l and "longtitude" in l: @@ -1145,7 +1144,6 @@ class SidebandCore(): if "snr" in physical_link: remote_telemeter.sensors["physical_link"].snr = physical_link["snr"] if "q" in physical_link: remote_telemeter.sensors["physical_link"].q = physical_link["q"] remote_telemeter.sensors["physical_link"].update_data() - RNS.log("PACKED: "+str(remote_telemeter.read_all()), RNS.LOG_WARNING) query = "INSERT INTO telemetry (dest_context, ts, data) values (?, ?, ?)" data = (context_dest, telemetry_timestamp, telemetry)