Переглянути джерело

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