diff options
| author | Trial97 <alexandru.tripon97@gmail.com> | 2026-03-21 11:49:52 +0200 |
|---|---|---|
| committer | Sefa Eyeoglu <contact@scrumplex.net> | 2026-03-21 10:51:44 +0100 |
| commit | d55bc04feeb79eb7a8febe681bfad8eca27aac6f (patch) | |
| tree | 0e63118f6a53ed0bfa5477855a3144689716d1aa /meta | |
| parent | 2ee9cf8ed9cba14501be93fa5df932f310d5741e (diff) | |
| download | Project-Tick-d55bc04feeb79eb7a8febe681bfad8eca27aac6f.tar.gz Project-Tick-d55bc04feeb79eb7a8febe681bfad8eca27aac6f.zip | |
fix error
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/common/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |
