Fix style issue

M1nd3r/thp2
M1nd3r 2 months ago
parent 20ce038bef
commit 8d701a2d00

@ -307,8 +307,7 @@ def _decode_iface(cached_iface: bytes) -> WireInterface:
raise RuntimeError("There is no valid USB WireInterface")
return iface
if __debug__ and cached_iface == _MOCK_INTERFACE_HID:
# TODO"Not implemented, should return MockHID WireInterface
return None
raise NotImplementedError("Should return MockHID WireInterface")
# TODO implement bluetooth interface
raise Exception("Unknown WireInterface")

Loading…
Cancel
Save