Browse Source

cleanup: TK-Ping

micha 6 tháng trước cách đây
mục cha
commit
1d11d60091
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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: