Skip to content

Commit

Permalink
removed debug message logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ampledata committed Dec 31, 2024
1 parent f971c0d commit 0294da9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions dronecot/classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0294da9

Please sign in to comment.