Remove extra print from usbguard-notify.py
This commit is contained in:
parent
8043218190
commit
5a4a0fbb0d
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user