mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-29 20:34:22 +01:00
Fixed md5sum comparison
This commit is contained in:
parent
e804cbb33f
commit
a45396acf9
2 changed files with 6 additions and 2 deletions
|
@ -1,4 +1,8 @@
|
|||
4.4.4 - 31/12/2002
|
||||
4.4.5 - 31/12/2022
|
||||
Updated:
|
||||
- Fixed md5sum comparison
|
||||
|
||||
4.4.4 - 31/12/2022
|
||||
BugFixed:
|
||||
- AttributeError: 'PosixPath' object has no attribute 'startswith'
|
||||
- KeyError: 'sbo_chglog_txt' #LQ post6401410
|
||||
|
|
|
@ -22,7 +22,7 @@ class Md5sum:
|
|||
|
||||
file_check = hashlib.md5(md5).hexdigest()
|
||||
|
||||
if file_check not in checksum:
|
||||
if file_check != checksum:
|
||||
print('\nExpected:', ''.join(checksum))
|
||||
print('Found:', file_check)
|
||||
print(f'\nMD5SUM check for {name} FAILED.')
|
||||
|
|
Loading…
Add table
Reference in a new issue