aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney.wsgi
diff options
context:
space:
mode:
author0livd <0livd@users.noreply.github.com>2017-06-18 00:00:42 +0200
committerAlexis Metaireau <alexis@notmyidea.org>2017-06-18 00:00:42 +0200
commitd0178ec6b6344f88757536129ef56aa160ea1f03 (patch)
tree4c7fdd42d41b9f4a8970793fb1ae8bc41cb91092 /ihatemoney.wsgi
parent32f2339c478d9f1f756780ddf7d7d188cc0e5f67 (diff)
downloadihatemoney-mirror-d0178ec6b6344f88757536129ef56aa160ea1f03.zip
ihatemoney-mirror-d0178ec6b6344f88757536129ef56aa160ea1f03.tar.gz
ihatemoney-mirror-d0178ec6b6344f88757536129ef56aa160ea1f03.tar.bz2
Tell Apache to add the budget directory to the python path (#215)
The path no longer needs to be modified in the .wsgi file
Diffstat (limited to 'ihatemoney.wsgi')
-rw-r--r--ihatemoney.wsgi8
1 files changed, 0 insertions, 8 deletions
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