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