relative directory still needs solution
This commit is contained in:
parent
fd3ee119fb
commit
e521349ad5
@ -7,7 +7,7 @@ from whoosh.qparser import QueryParser
|
||||
from application.csvparser import CsvParser
|
||||
|
||||
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):
|
||||
|
Loading…
Reference in New Issue
Block a user