Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions validitysensor/blobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ def __load_blob(blob: str) -> bytes:
elif usb.usb_dev().idVendor == 0x06cb:
if usb.usb_dev().idProduct == 0x009a:
from . import blobs_9a as blobs
elif usb.usb_dev().idProduct == 0x00a2:
from . import blobs_a2 as blobs

globals()[blob] = getattr(blobs, blob)
return globals()[blob]
Expand Down
Loading