소스 검색

add: DMX-STORE ip in log file

micha 2 주 전
부모
커밋
fbf37f6551
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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)