summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Luha <rasmus.luha@gmail.com>2022-03-17 13:48:15 +0200
committerRasmus Luha <rasmus.luha@gmail.com>2022-03-17 13:48:15 +0200
commit98e375682a50f3cdeddc8e6af022d1e8d12f608d (patch)
tree22e68ab1daea17566c2a8b0d95e48d238c691c10
parentab2efcde6a5fac062ace86aa1705dc47ce69f438 (diff)
file name fixes
-rw-r--r--api/__init__.py0
-rw-r--r--api/main.py (renamed from API/main.py)0
-rw-r--r--api/routers/__init__.py0
-rw-r--r--api/routers/get.py (renamed from API/routers/get.py)4
-rw-r--r--api/utils.py (renamed from API/utils.py)0
5 files changed, 2 insertions, 2 deletions
diff --git a/api/__init__.py b/api/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/api/__init__.py
diff --git a/API/main.py b/api/main.py
index 8068243..8068243 100644
--- a/API/main.py
+++ b/api/main.py
diff --git a/api/routers/__init__.py b/api/routers/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/api/routers/__init__.py
diff --git a/API/routers/get.py b/api/routers/get.py
index 031b469..bbbd26d 100644
--- a/API/routers/get.py
+++ b/api/routers/get.py
@@ -3,8 +3,8 @@ import numpy as np
import pandas as pd
import sys
-sys.path.append("..")
-import utils
+#sys.path.append("/home/rasmus/Proge/STACC/api")
+from .. import utils
router = APIRouter(tags=["Get requests"])
diff --git a/API/utils.py b/api/utils.py
index c04bdf1..c04bdf1 100644
--- a/API/utils.py
+++ b/api/utils.py