use current file name

This commit is contained in:
Mehdi Abaakouk 2012-08-21 11:54:52 +02:00 committed by root
parent 17d11c0ec4
commit 82b1569dd4
1 changed files with 1 additions and 1 deletions

View File

@ -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