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