diff --git a/dronecot/classes.py b/dronecot/classes.py index 34f6ecc..5257248 100644 --- a/dronecot/classes.py +++ b/dronecot/classes.py @@ -132,10 +132,6 @@ async def handle_sensor_position(self, message): async def handle_sensor_data(self, message: dict): """Process decoded data from the sensor.""" - if os.getenv("DEBUG"): - with open("messages.json", "a") as f: - json.dump(message, f) - protocol = message.get("protocol") if not protocol or str(protocol) != "1.0": return