Fixed md5sum comparison

This commit is contained in:
Dimitris Zlatanidis 2022-12-31 22:07:38 +02:00
parent e804cbb33f
commit a45396acf9
2 changed files with 6 additions and 2 deletions

View file

@ -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

View file

@ -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.')