mirror of
https://github.com/TheCommsChannel/TC2-BBS-mesh.git
synced 2025-06-07 05:52:47 -04:00
Update server.py
Fix pubsub errors
This commit is contained in:
parent
5935c4d270
commit
be9aa375cf
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ def main():
|
|||
|
||||
initialize_database()
|
||||
|
||||
def receive_packet(packet):
|
||||
def receive_packet(packet, interface):
|
||||
on_receive(packet, interface)
|
||||
|
||||
pub.subscribe(receive_packet, system_config['mqtt_topic'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue