aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2023-05-03 18:43:23 +0300
committerGeorgi Gerganov <ggerganov@gmail.com>2023-05-03 18:43:23 +0300
commite2a937ca6abadc7e01e139db31e6db9dce16e3e9 (patch)
tree777b429a337cee9c8bf06c40dcad3c4537247a6c /scripts
parentb0c71c7b6dc0c0adb507d78f401e95e7ab0f5a38 (diff)
minor : fix trailing whitespaces
Diffstat (limited to 'scripts')
-rw-r--r--scripts/verify-checksum-models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/verify-checksum-models.py b/scripts/verify-checksum-models.py
index 811372e..1f1b3d2 100644
--- a/scripts/verify-checksum-models.py
+++ b/scripts/verify-checksum-models.py
@@ -6,13 +6,13 @@ def sha256sum(file):
b = bytearray(block_size)
file_hash = hashlib.sha256()
mv = memoryview(b)
- with open(file, 'rb', buffering=0) as f:
+ with open(file, 'rb', buffering=0) as f:
while True:
n = f.readinto(mv)
if not n:
break
file_hash.update(mv[:n])
-
+
return file_hash.hexdigest()
# Define the path to the llama directory (parent folder of script directory)