瀏覽代碼

cleanup: TK-Ping

micha 6 月之前
父節點
當前提交
1d11d60091
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      tool/TK-Ping.py

+ 2 - 2
tool/TK-Ping.py

@@ -91,7 +91,7 @@ def sort_list():
             b_scan.insert("end",line+"\n")
 
 def cmd(CMD):
-    print("CMD:",CMD)
+    #print("CMD:",CMD)
     #b_scan.insert("end",CMD+"\n")
 
     ip = "xxx"
@@ -105,7 +105,7 @@ def cmd(CMD):
 
     r=os.popen(CMD+" 2> /dev/null ")
     for line in r.readlines():
-        print([line])
+        #print([line])
         if " packets transmitted" in line and not "100%" in line:
             print(CMD,[line])
             if ip in CMD: