Skip to content

Commit

Permalink
q-dev: small fix for unknown devices
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrbartman committed Jun 1, 2024
1 parent 9094561 commit f6ad1c3
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 @@ -207,7 +207,7 @@ def _load_desc_from_qubesdb(self) -> Dict[str, str]:
# but it is not empty. We cannot parse it,
# but we can still put it to the `name` just to provide
# some information to the user.
untrusted_vendor_id, untrusted_product_id = ("0000", "0000")
untrusted_vendor_id, untrusted_product_id = (b"0000", b"0000")
(untrusted_manufacturer, untrusted_serial) = (
unknown.encode() for _ in range(2))
untrusted_name = untrusted_device_desc.replace(b' ', b'_')
Expand Down

0 comments on commit f6ad1c3

Please sign in to comment.