Fix style issue

M1nd3r/thp5
M1nd3r 2 months ago
parent 8f7dbb4e55
commit 8d9b95ef41

@ -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