mirror of
https://github.com/sileht/bird-lg.git
synced 2024-11-21 14:34:43 +01:00
use current file name
This commit is contained in:
parent
17d11c0ec4
commit
82b1569dd4
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…
Reference in a new issue