summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/ghpr.py2
-rw-r--r--scripts/scan.py2
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"