Преглед изворни кода

fix typo on subscribed topic

David пре 8 година
родитељ
комит
e8319c31d0
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      mic1/mic.py

+ 1 - 1
mic1/mic.py

@@ -44,7 +44,7 @@ def on_connect(client, userdata, flags, rc):
 def on_message(client, userdata, msg):
     print(msg.topic+" "+str(msg.payload))
     global not_exited
-    if msg.topic == "vide/mic1/restart":
+    if msg.topic == "video/mic1/restart":
         not_exited = False