diff --git a/slpkg/checksum.py b/slpkg/checksum.py index f82a2bdd..ec9b6953 100644 --- a/slpkg/checksum.py +++ b/slpkg/checksum.py @@ -34,9 +34,9 @@ class Md5sum: filename = source_file.split('/')[-1] source_path = Path(path, filename) - md5 = self.read_binary_file(source_path) + md5: bytes = self.read_binary_file(source_path) file_check: str = hashlib.md5(md5).hexdigest() - checksum = "".join(checksum) + checksum: str = "".join(checksum) if file_check != checksum: self.ascii.draw_checksum_error_box(filename, checksum, file_check)