Update server.py

Fix pubsub errors
This commit is contained in:
TC² 2024-07-02 18:47:59 -04:00
parent 5935c4d270
commit be9aa375cf

View File

@ -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'])