From 0614eca8a22c0e37afd44e884d1f2fbefa062ad9 Mon Sep 17 00:00:00 2001 From: Alex Terrell Date: Fri, 6 Dec 2024 08:11:26 -0700 Subject: [PATCH] Update usb_alerts.py --- usb_alerts/usb_alerts.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/usb_alerts/usb_alerts.py b/usb_alerts/usb_alerts.py index 1dff834..f21399f 100644 --- a/usb_alerts/usb_alerts.py +++ b/usb_alerts/usb_alerts.py @@ -16,10 +16,8 @@ if 'speed USB' in line: msg = f'USB Connected: {line.split("USB")[1].strip()}' cp.alert(msg) - cp.log(msg.replace('USB', 'U5B')) if 'USB disconnect' in line: msg = line.split(":")[2].strip().replace("disconnect", "Disconnected") cp.alert(msg) - cp.log(msg.replace('USB', 'U5B')) except: pass