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

+4
View File
@@ -1,5 +1,9 @@
# Changelog # Changelog
## [6.0.1-beta.2] 2025-11-10
## Fixed
- Python 3.14 error in finally block
## [6.0.1-beta.1] 2025-11-05 ## [6.0.1-beta.1] 2025-11-05
## Fixed ## Fixed
- UI not being constructed correctly if CHANGELOG.md was missing - UI not being constructed correctly if CHANGELOG.md was missing
+3 -3
View File
@@ -3,7 +3,7 @@ set -o pipefail
src_path=$(realpath "$0") src_path=$(realpath "$0")
version=6.0.1.beta-1 version=6.0.1.beta-2
reference_branch="prerelease/6.0.1-beta.1" reference_branch="prerelease/6.0.1-beta.1"
#CONSTANTS #CONSTANTS
@@ -616,10 +616,10 @@ fetch_helpers_by_sum(){
[[ -f "$config_file" ]] && source "$config_file" [[ -f "$config_file" ]] && source "$config_file"
declare -A sums declare -A sums
sums=( sums=(
["funcs"]="2bac12c1bff5d6ad50161f174d57d029" ["funcs"]="5d7d92b7b8a9c788b133ce5271a76553"
["query_v2.py"]="55d339ba02512ac69de288eb3be41067" ["query_v2.py"]="55d339ba02512ac69de288eb3be41067"
["servers.py"]="ed442c3aecf33f777d59dcf53650d263" ["servers.py"]="ed442c3aecf33f777d59dcf53650d263"
["ui.py"]="8a35ac263db8b812f30e04902c4e9603" ["ui.py"]="2476397883a4272eaf940403ba5a6575"
["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397" ["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397"
["pefile.py"]="21531f2c0d9dfa5f110cf6779f9d22c0" ["pefile.py"]="21531f2c0d9dfa5f110cf6779f9d22c0"
) )
+1 -1
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -o pipefail set -o pipefail
version="6.0.1-beta.1" version="6.0.1-beta.2"
#CONSTANTS #CONSTANTS
aid=221100 aid=221100
+1 -2
View File
@@ -824,8 +824,7 @@ def query_history() -> list | None:
rows = [row.rstrip("\n") for row in f] rows = [row.rstrip("\n") for row in f]
except OSError: except OSError:
rows = None rows = None
finally: return rows
return rows
def query_favorites() -> None | list: def query_favorites() -> None | list: