Ver código fonte

add: DMX-STORE ip in log file

micha 2 semanas atrás
pai
commit
fbf37f6551
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      tool/TK-Nodescanner.py

+ 2 - 2
tool/TK-Nodescanner.py

@@ -422,9 +422,9 @@ def listen_cmd():
             msg = msg.strip()
             msg = msg.decode("ascii")
             msg = msg.replace("\x00","") 
-            msg += "\n"
+            #msg += "\n"
             print("cmd return:",[addr,msg])
-            log_text.insert("end",msg)
+            log_text.insert("end",str([addr,msg])+"\n")
             print("****"*20)
         except Exception as e:
             print("e",e)