1
0
Fork 0
mirror of https://github.com/sileht/bird-lg.git synced 2024-12-23 13:04:42 +01:00

Change lg-proxy to lgproxy to easly import it in wsgi

This commit is contained in:
Mehdi Abaakouk 2014-02-18 11:52:43 +01:00
parent 6b7dfbb7a9
commit 63e978f84f
3 changed files with 8 additions and 0 deletions

8
lgproxy.wsgi Normal file
View file

@ -0,0 +1,8 @@
import sys
import os
sitepath = os.path.realpath(os.path.dirname(__file__))
sys.path.insert(0, sitepath)
from lgproxy import app as application