From 4073a62fd44faebac04b068dd653aa52a624192b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9taireau?= Date: Tue, 25 Feb 2025 15:44:24 +0100 Subject: [PATCH] fixup! Download and verify cosign signatures --- dangerzone/updater/signatures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dangerzone/updater/signatures.py b/dangerzone/updater/signatures.py index 356bc48..74fd420 100644 --- a/dangerzone/updater/signatures.py +++ b/dangerzone/updater/signatures.py @@ -184,7 +184,7 @@ def get_log_index_from_signatures(signatures: List[Dict]) -> int: def write_log_index(log_index: int) -> None: last_log_index_path = SIGNATURES_PATH / "last_log_index" - with open(log_index, "w") as f: + with open(last_log_index_path, "w") as f: f.write(str(log_index))