Remove extra print from usbguard-notify.py

This commit is contained in:
Alexander Rosenberg 2023-05-17 17:24:57 -07:00
parent 8043218190
commit 5a4a0fbb0d
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -61,7 +61,6 @@ def prompt_device_action(dev_id, name, long_id):
'New Device'], 'New Device'],
stdout=PIPE, text=True, bufsize=0) stdout=PIPE, text=True, bufsize=0)
open_notifications[dev_id] = int(proc.stdout.readline()) open_notifications[dev_id] = int(proc.stdout.readline())
print(str(open_notifications[dev_id]))
option = int(proc.communicate()[0]) option = int(proc.communicate()[0])
try: try:
open_notifications.pop(dev_id) open_notifications.pop(dev_id)