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 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
|
||||
|
|
Loading…
Add table
Reference in a new issue