relative directory still needs solution

This commit is contained in:
crunk 2024-03-31 12:25:22 +02:00
parent fd3ee119fb
commit e521349ad5

View File

@ -7,7 +7,7 @@ from whoosh.qparser import QueryParser
from application.csvparser import CsvParser from application.csvparser import CsvParser
SCRIPT_DIR = os.path.dirname(__file__) SCRIPT_DIR = os.path.dirname(__file__)
DATA_DIR = os.path.abspath(os.path.join(SCRIPT_DIR, "data")) DATA_DIR = os.path.abspath(os.path.join(SCRIPT_DIR, "../data"))
def search(searchinput): def search(searchinput):