aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiří Podivín <66251151+jpodivin@users.noreply.github.com>2023-07-16 21:54:47 +0200
committerGitHub <noreply@github.com>2023-07-16 22:54:47 +0300
commit27ab66e437797aedbb23b3599385756b6c26ac39 (patch)
tree65aff0e600129cfafa6c82a925e7a4de794c8795
parent6e7cca404748dd4b1a3affd0d1296e37f4ac0a6f (diff)
py : turn verify-checksum-models.py into executable (#2245)
README.md was adjusted to reflect the change. Signed-off-by: Jiri Podivin <jpodivin@gmail.com>
-rw-r--r--README.md2
-rwxr-xr-x[-rw-r--r--]scripts/verify-checksum-models.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index 476cc43..f45e4bf 100644
--- a/README.md
+++ b/README.md
@@ -640,7 +640,7 @@ Please verify the [sha256 checksums](SHA256SUMS) of all downloaded model files t
```bash
# run the verification script
-python3 .\scripts\verify-checksum-models.py
+./scripts/verify-checksum-models.py
```
- On linux or macOS it is also possible to run the following commands to verify if you have all possible latest files in your self-installed `./models` subdirectory:
diff --git a/scripts/verify-checksum-models.py b/scripts/verify-checksum-models.py
index d127482..307b7c0 100644..100755
--- a/scripts/verify-checksum-models.py
+++ b/scripts/verify-checksum-models.py
@@ -1,3 +1,5 @@
+#!/bin/env python3
+
import os
import hashlib