mirror of
https://github.com/TheCommsChannel/TC2-BBS-mesh.git
synced 2025-02-02 17:24:44 -05:00
Update server.py
Fix pubsub errors
This commit is contained in:
parent
5935c4d270
commit
be9aa375cf
@ -57,7 +57,7 @@ def main():
|
|||||||
|
|
||||||
initialize_database()
|
initialize_database()
|
||||||
|
|
||||||
def receive_packet(packet):
|
def receive_packet(packet, interface):
|
||||||
on_receive(packet, interface)
|
on_receive(packet, interface)
|
||||||
|
|
||||||
pub.subscribe(receive_packet, system_config['mqtt_topic'])
|
pub.subscribe(receive_packet, system_config['mqtt_topic'])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user