From f399b3bf514b396de67644d4b1e2018886cecac2 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Tue, 13 Sep 2016 09:09:21 +0200 Subject: Run scripts from ./wqflask - just like the webserver --- wqflask/maintenance/gen_select_dataset.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wqflask/maintenance/gen_select_dataset.py') diff --git a/wqflask/maintenance/gen_select_dataset.py b/wqflask/maintenance/gen_select_dataset.py index f2f0830f..23adc4f9 100644 --- a/wqflask/maintenance/gen_select_dataset.py +++ b/wqflask/maintenance/gen_select_dataset.py @@ -40,8 +40,8 @@ from __future__ import print_function, division import sys -# NEW: Note we prepend the current path - otherwise a guix instance of GN2 is used instead -sys.path.insert(0,'./wqflask') +# NEW: Note we prepend the current path - otherwise a guix instance of GN2 may be used instead +sys.path.insert(0,'./') # NEW: import app to avoid a circular dependency on utility.tools from wqflask import app -- cgit v1.2.3