Skip to content

Commit

Permalink
Trim the trailing whitespaces in print-hash.py
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Jan 9, 2022
1 parent 4992a00 commit 717ba43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions print-hash.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
sha256 = hashlib.sha256()
md5 = hashlib.md5()
blake2_256 = hashlib.blake2b(digest_size=256 // 8)

print(file_object)
print("")

content = file_object.read_bytes()

sha256.update(content)
md5.update(content)
blake2_256.update(content)
Expand Down

0 comments on commit 717ba43

Please # to comment.