فهرست منبع

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: