summaryrefslogtreecommitdiff
path: root/kvmd
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-04-12 15:30:36 +0300
committerMaxim Devaev <[email protected]>2022-04-12 15:30:36 +0300
commit32fb465ad4116ab50b49acf0b99665abe55aeb53 (patch)
treed4043a0f5cd2497961feb34d29947d6b94ba62ba /kvmd
parent04720ffe186529fa25aafff394abda6bc44bea4b (diff)
fix
Diffstat (limited to 'kvmd')
-rw-r--r--kvmd/apps/kvmd/ugpio.py2
-rw-r--r--kvmd/plugins/hid/otg/__init__.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/apps/kvmd/ugpio.py b/kvmd/apps/kvmd/ugpio.py
index de69cacf..cea60bb9 100644
--- a/kvmd/apps/kvmd/ugpio.py
+++ b/kvmd/apps/kvmd/ugpio.py
@@ -281,7 +281,7 @@ class UserGpio:
await self.__notifier.wait()
def sysprep(self) -> None:
- get_logger().info("Preparing User-GPIO drivers ...")
+ get_logger(0).info("Preparing User-GPIO drivers ...")
for (_, driver) in tools.sorted_kvs(self.__drivers):
driver.prepare()
diff --git a/kvmd/plugins/hid/otg/__init__.py b/kvmd/plugins/hid/otg/__init__.py
index cc4e0969..41fcff29 100644
--- a/kvmd/plugins/hid/otg/__init__.py
+++ b/kvmd/plugins/hid/otg/__init__.py
@@ -115,7 +115,7 @@ class Plugin(BaseHid): # pylint: disable=too-many-instance-attributes
def sysprep(self) -> None:
udc = usb.find_udc(self.__udc)
- get_logger().info("Using UDC %s", udc)
+ get_logger(0).info("Using UDC %s", udc)
self.__keyboard_proc.start(udc)
self.__mouse_proc.start(udc)
if self.__mouse_alt_proc: