use current file name
This commit is contained in:
parent
17d11c0ec4
commit
82b1569dd4
1 changed files with 1 additions and 1 deletions
2
lg.wsgi
2
lg.wsgi
|
@ -2,7 +2,7 @@
|
||||||
import sys
|
import sys
|
||||||
import os
|
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)
|
sys.path.insert(0, sitepath)
|
||||||
|
|
||||||
from lg import app as application
|
from lg import app as application
|
||||||
|
|
Loading…
Add table
Reference in a new issue