fix: return from finally block

This commit is contained in:
aclist committed 2025-11-10 11:42:26 +09:00
1 parent 90d59cec97
commit a418bcfb90
4 files changed
+9 -6

No files matched your search

+1 -2
View File
@@ -824,8 +824,7 @@ def query_history() -> list | None:
rows = [row.rstrip("\n") for row in f]
except OSError:
rows = None
finally:
return rows
return rows
def query_favorites() -> None | list: