diff options
| author | Yuval Adam <_@yuv.al> | 2022-11-14 23:05:17 +0200 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2022-11-14 23:05:17 +0200 |
| commit | 7098e0b77cfe5d47cdf36e41f1c5a4f72aa3b000 (patch) | |
| tree | c87d226e2a2f581fe00b1728214fdd0f47df2057 /scripts | |
| parent | 19928dde097a131fbcc2b73f7ba1142c6e6ee7cc (diff) | |
Fix scripts ROOT_PATH
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/ghpr.py | 2 | ||||
| -rw-r--r-- | scripts/scan.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/ghpr.py b/scripts/ghpr.py index 4e9a124..4406ba1 100644 --- a/scripts/ghpr.py +++ b/scripts/ghpr.py @@ -3,7 +3,7 @@ import sys from pathlib import Path from subprocess import run -ROOT_PATH = Path(__file__).parent +ROOT_PATH = Path(__file__).parents[1] path = sys.argv[1] diff --git a/scripts/scan.py b/scripts/scan.py index cf367f4..62d843a 100644 --- a/scripts/scan.py +++ b/scripts/scan.py @@ -2,7 +2,7 @@ import requests from pathlib import Path -ROOT_PATH = Path(__file__).parent +ROOT_PATH = Path(__file__).parents[1] DATA_DIR = ROOT_PATH / "data" |
