Commit dfd2a689 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis

add agkyra in python path when launching server

parent 927f5f21
......@@ -14,6 +14,13 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import os
import sys
SCRIPTSPATH = os.path.dirname(os.path.realpath(__file__))
AGKYRAPATH = os.path.dirname(SCRIPTSPATH)
LIBPATH = os.path.dirname(AGKYRAPATH)
sys.path.insert(0, LIBPATH)
from agkyra import config
AGKYRA_DIR = config.AGKYRA_DIR
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment