hww: mark device_model_name(self) as @abstractmethod and override in hww clients that did not define it.

This commit is contained in:
Sander van Grieken
2023-09-06 12:36:16 +02:00
parent d68e6a69c1
commit 087718f3a7
5 changed files with 16 additions and 4 deletions
+3
View File
@@ -72,6 +72,9 @@ class BitBox02Client(HardwareClientBase):
if self.bitbox_hid_info is None:
raise Exception("No BitBox02 detected")
def device_model_name(self) -> Optional[str]:
return 'BitBox02'
def is_initialized(self) -> bool:
return True