diff --git a/server.py b/server.py index b590e63..af5117c 100644 --- a/server.py +++ b/server.py @@ -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'])