chore: clear typehinting errors

This commit is contained in:
aclist committed 2026-04-28 21:41:07 +09:00
1 parent 3d33d4f1e0
commit 52d51f2bd7
14 files changed
+50 -41

No files matched your search

+4 -4
View File
@@ -88,9 +88,9 @@ class ConfigManager:
if res is True:
self.update_config(key, text)
else:
self.thread_man.set_cleanup_func(StoredFunc(
lambda: self.emitter.emit("api_change_failed")
))
self.thread_man.set_cleanup_func(
StoredFunc(lambda: self.emitter.emit("api_change_failed"))
)
return
def get_favorites(self) -> list[str]:
@@ -113,7 +113,7 @@ class ConfigManager:
def enum_to_key(self, enum: Preferences) -> str:
return enum.dict["key"]
def get_client_index(client: str) -> int:
def get_client_index(self, client: str) -> int:
if client == STEAM_CMD:
return 0
if client == FLATPAK_RUN_CMD: