Commit 7a426901 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

fix inserting lib in sys.path

parent ddcd8a10
......@@ -18,10 +18,13 @@ import os
import sys
import argparse
CURPATH = os.path.dirname(os.path.realpath(__file__))
from agkyra import config
except ImportError:
sys.path.insert(0, "lib")
LIBPATH = os.path.join(CURPATH, "lib")
sys.path.insert(0, LIBPATH)
from agkyra import config
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