From d55bc04feeb79eb7a8febe681bfad8eca27aac6f Mon Sep 17 00:00:00 2001 From: Trial97 Date: Sat, 21 Mar 2026 11:49:52 +0200 Subject: fix error Signed-off-by: Trial97 --- meta/common/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/common/__init__.py b/meta/common/__init__.py index 533f832917..922ff98655 100644 --- a/meta/common/__init__.py +++ b/meta/common/__init__.py @@ -117,7 +117,7 @@ def get_file_sha1_from_file(file_name: str, sha1_file: str) -> Optional[str]: if os.path.isfile(sha1_file): with open(sha1_file, "r") as file: return file.read() - if not os.path.isfile(jar_path): + if not os.path.isfile(file_name): return None new_sha1 = file_hash(file_name, hashlib.sha1) with open(sha1_file, "w") as file: -- cgit 0.0.5-2-1-g0f52