diff options
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: |
