mirror of
https://github.com/aclist/dztui.git
synced 2026-10-30 06:32:53 +01:00
fix: return from finally block
This commit is contained in:
1 parent
90d59cec97
commit
a418bcfb90
4 files changed
+9
-6
No files matched your search
+1
-2
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user