diff --git a/client/main.py b/client/main.py index e39795b..906c2a4 100644 --- a/client/main.py +++ b/client/main.py @@ -104,4 +104,4 @@ if __name__ == "__main__": mqttc.subscribe("tube-"+str(wlan_mac_address)+"/p5", 0) mqttc.subscribe("tube-"+str(wlan_mac_address)+"/p6", 0) - mqttc.loop_start() \ No newline at end of file + mqttc.loop_forever() \ No newline at end of file