chore: fix linting errors

This commit is contained in:
aclist committed 2026-01-24 13:33:15 +09:00
1 parent f05374bc7d
commit 2beea2af20
4 files changed
+5 -15

No files matched your search

+3 -3
View File
@@ -35,7 +35,7 @@ def get_config(path: Path) -> dict:
def get_favorites(path: Path) -> list[str]:
try:
conf = get_config(path)
except Exception as e:
except Exception:
pass
return conf["ip_list"]
@@ -54,7 +54,7 @@ def enum_to_key(enum: Preferences) -> str:
def get_client_index(client: str) -> int:
if client == STEAM_CMD:
return 0
elif client == FLATPAK_RUN_CMD:
if client == FLATPAK_RUN_CMD:
return 1
else:
if client == FLATPAK_SANDBOX:
return 2