From 6b2b9c6ec40c12339a4939f3484a97beb563d92a Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Thu, 10 Nov 2022 02:56:20 +0300 Subject: [PATCH] refactoring --- kvmd/apps/kvmd/api/hid.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kvmd/apps/kvmd/api/hid.py b/kvmd/apps/kvmd/api/hid.py index 6d993d4a..4ab5f8a3 100644 --- a/kvmd/apps/kvmd/api/hid.py +++ b/kvmd/apps/kvmd/api/hid.py @@ -147,8 +147,8 @@ class HidApi: return self.__inner_ensure_symmap(path, st.st_mtime) @functools.lru_cache(maxsize=10) - def __inner_ensure_symmap(self, path: str, mtime: int) -> dict[int, dict[int, str]]: - _ = mtime # For LRU + def __inner_ensure_symmap(self, path: str, mod_ts: int) -> dict[int, dict[int, str]]: + _ = mod_ts # For LRU return build_symmap(path) # =====