Skip to content

Commit

Permalink
q-dev: port assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrbartman committed Jun 1, 2024
1 parent d261a0f commit 785bd62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qubesusbproxy/core3ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ async def on_device_attach_usb(self, vm, event, device, options):
raise qubes.exc.QubesException(
'USB device attach do not support user options')
identity = options['identity']
if device.self_identity != identity:
if identity != 'any' and device.self_identity != identity:
print(f"Unrecognized identity, skipping attachment of {device}",
file=sys.stderr)
raise qubes.devices.UnrecognizedDevice(
Expand Down

0 comments on commit 785bd62

Please sign in to comment.