chore: explicitly return False instead of GLib macro

This commit is contained in:
aclist committed 2026-04-29 01:04:22 +09:00
1 parent 4377f9de7c
commit d6ef55a3b3
2 files changed
+7 -5

No files matched your search

+4 -2
View File
@@ -54,7 +54,9 @@ def enum_to_key(enum: Preferences) -> str:
def get_client_index(client: str) -> int:
if client == STEAM_CMD:
return 0
if client == FLATPAK_RUN_CMD:
elif client == FLATPAK_RUN_CMD:
return 1
if client == FLATPAK_SANDBOX:
elif client == FLATPAK_SANDBOX:
return 2
else:
return 0