mirror of
https://github.com/hemna/aprsd-weewx-plugin.git
synced 2025-06-17 22:02:33 -04:00
don't dump the packet when you get it from weewx
This commit is contained in:
parent
e59fa28cb1
commit
872ffd6ce4
@ -207,7 +207,6 @@ 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("Got WX data")
|
LOG.debug("Got WX data")
|
||||||
LOG.debug(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