summaryrefslogtreecommitdiff
path: root/kvmd/plugins/ugpio/otgbind.py
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2021-09-08 06:08:11 +0300
committerMaxim Devaev <[email protected]>2021-09-08 06:08:11 +0300
commitca812117e48cbc6e2c71947b912748cfd3ff9691 (patch)
treed8daa43c9e606ed0c4226a112e943aa683fd627f /kvmd/plugins/ugpio/otgbind.py
parent5d1228eb9e5b159d0909453ed85280b9fb794a9e (diff)
improved pins validation
Diffstat (limited to 'kvmd/plugins/ugpio/otgbind.py')
-rw-r--r--kvmd/plugins/ugpio/otgbind.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/plugins/ugpio/otgbind.py b/kvmd/plugins/ugpio/otgbind.py
index 600c8488..ebbcf5fc 100644
--- a/kvmd/plugins/ugpio/otgbind.py
+++ b/kvmd/plugins/ugpio/otgbind.py
@@ -54,7 +54,7 @@ class Plugin(BaseUserGpioDriver):
self.__driver = ""
@classmethod
- def get_pin_validator(cls) -> Callable[[Any], str]:
+ def get_pin_validator(cls) -> Callable[[Any], Any]:
return str
def prepare(self) -> None: