Skip to content
Snippets Groups Projects
Commit dfd2a689 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

add agkyra in python path when launching server

parent 927f5f21
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment