From d0178ec6b6344f88757536129ef56aa160ea1f03 Mon Sep 17 00:00:00 2001 From: 0livd <0livd@users.noreply.github.com> Date: Sun, 18 Jun 2017 00:00:42 +0200 Subject: Tell Apache to add the budget directory to the python path (#215) The path no longer needs to be modified in the .wsgi file --- ihatemoney.wsgi | 8 -------- 1 file changed, 8 deletions(-) (limited to 'ihatemoney.wsgi') diff --git a/ihatemoney.wsgi b/ihatemoney.wsgi index fbaa134..66f7a73 100644 --- a/ihatemoney.wsgi +++ b/ihatemoney.wsgi @@ -1,9 +1 @@ -import sys -import os - -__HERE__ = os.path.dirname(os.path.abspath(__file__)) - -# Add the budget directory to the path so we can then import from run -sys.path.insert(0, os.path.join(__HERE__, 'budget')) - from run import app as application -- cgit v1.1