summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-11-10 02:56:20 +0300
committerMaxim Devaev <[email protected]>2022-11-10 02:56:20 +0300
commit6b2b9c6ec40c12339a4939f3484a97beb563d92a (patch)
treecb72fbbc967c956bdb2bfb1203628fa1cd1dd5c7
parent3748360deb9c6dfd4eb0b3394af0c21a6a40a5c1 (diff)
refactoring
-rw-r--r--kvmd/apps/kvmd/api/hid.py4
1 files 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)
# =====