metanohi/nohi.wsgi

15 lines
236 B
Plaintext
Raw Normal View History

2011-07-05 21:20:55 +02:00
"""WSGI interface"""
import sys
2011-07-14 22:28:37 +02:00
import os.path
2011-07-05 21:20:55 +02:00
_absfile = os.path.abspath(__file__)
_filedir = os.path.dirname(_absfile)
2011-07-14 22:28:37 +02:00
sys.path.insert(0, _filedir)
2011-08-05 00:50:04 +02:00
import mege.wsgi
2011-07-05 21:20:55 +02:00
os.chdir(_filedir)
2014-08-01 15:24:01 +02:00
2011-07-14 22:28:37 +02:00
application = mege.wsgi.create_application()