mirror of
https://github.com/hemna/aprsd-weewx-plugin.git
synced 2025-08-16 12:42:27 -04:00
don't dump the whole packet
This commit is contained in:
parent
a5ef1f10d4
commit
bb7a5ed08e
@ -200,7 +200,7 @@ class WeewxMQTTThread(threads.APRSDThread):
|
|||||||
|
|
||||||
def on_message(self, client, userdata, msg):
|
def on_message(self, client, userdata, msg):
|
||||||
wx_data = json.loads(msg.payload)
|
wx_data = json.loads(msg.payload)
|
||||||
LOG.debug(f"Got WX data {wx_data}")
|
LOG.debug("Got WX data")
|
||||||
# Make sure we have only 1 item in the queue
|
# Make sure we have only 1 item in the queue
|
||||||
if self.msg_queue.qsize() >= 1:
|
if self.msg_queue.qsize() >= 1:
|
||||||
self.msg_queue.clear()
|
self.msg_queue.clear()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user