mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-30 20:34:38 +01:00
Updated for typing
This commit is contained in:
parent
8d56d550e6
commit
99f23ddaea
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue