From 30ee0d462662478056ef5e38d6de9c23f4c91d4a Mon Sep 17 00:00:00 2001 From: MeaTLoTioN Date: Wed, 17 Aug 2022 04:06:26 +0100 Subject: [PATCH] remove commented out lines --- scripts/wfc.mpy | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/wfc.mpy b/scripts/wfc.mpy index 799c1ce..7e61966 100644 --- a/scripts/wfc.mpy +++ b/scripts/wfc.mpy @@ -72,7 +72,6 @@ def dispQuickLog(log="mis"): SY = 19 OS = 0 - #lines = os.popen('grep -aih "logged in$" '+LOGDIR+'/node*.log|sort|tail -n4').readlines() lines = os.popen('grep -vE "HTTP|BINKP|HostName|Blocked|Connect|EVENT" `ls -1hrt '+LOGDIR+'/mis.*.log|tail -1`|tail -n5|head -n4|cut -c -76').readlines() lines = os.popen(logFile).readlines() lines = map(lambda s: s.strip(), lines)