summaryrefslogtreecommitdiff
path: root/kvmd/plugins
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-03-31 03:37:04 +0300
committerMaxim Devaev <[email protected]>2022-03-31 03:37:04 +0300
commit94dca7d7c677b62b1e8645afcf721118c7a60833 (patch)
tree1809700273efa6db8cec9cbdd0532451aa985f5c /kvmd/plugins
parented93f1f4d30031b90c45469b2a6651fdce826f33 (diff)
simplified find_udc()
Diffstat (limited to 'kvmd/plugins')
-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 978a0154..43fc32fe 100644
--- a/kvmd/plugins/ugpio/otgbind.py
+++ b/kvmd/plugins/ugpio/otgbind.py
@@ -60,7 +60,7 @@ class Plugin(BaseUserGpioDriver):
return str
def prepare(self) -> None:
- self.__udc = usb.find_udc(self.__udc)[0]
+ self.__udc = usb.find_udc(self.__udc)
get_logger().info("Using UDC %s", self.__udc)
async def run(self) -> None: