From 82b1569dd4e63facc33163a433b58bf01817b32f Mon Sep 17 00:00:00 2001 From: Mehdi Abaakouk Date: Tue, 21 Aug 2012 11:54:52 +0200 Subject: [PATCH] use current file name --- lg.wsgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lg.wsgi b/lg.wsgi index 1fd87b3..a815f94 100644 --- a/lg.wsgi +++ b/lg.wsgi @@ -2,7 +2,7 @@ import sys import os -sitepath = os.path.realpath(os.path.dirname(sys.argv[0])) +sitepath = os.path.realpath(os.path.dirname(__file__)) sys.path.insert(0, sitepath) from lg import app as application