Browse Source

relative directory still needs solution

main
crunk 2 months ago
parent
commit
e521349ad5
  1. 2
      library/application/search.py

2
library/application/search.py

@ -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…
Cancel
Save