Skip to content

Commit

Permalink
Fix a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dukecat0 committed Jan 9, 2022
1 parent 5d18baa commit 977d067
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions print-hash.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
import pathlib
import sys

sha256 = hashlib.sha256()
md5 = hashlib.md5()
blake2_256 = hashlib.blake2b(digest_size=256 // 8)

packages_dir = pathlib.Path(sys.argv[1]).resolve().absolute()

print("Showing hash values of files to be uploaded:")

for file_object in packages_dir.iterdir():
sha256 = hashlib.sha256()
md5 = hashlib.md5()
blake2_256 = hashlib.blake2b(digest_size=256 // 8)

print(file_object)
print("")

Expand Down

0 comments on commit 977d067

Please # to comment.