mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 19:08:09 +01:00
12 lines
229 B
Python
12 lines
229 B
Python
|
#!/usr/bin/env python3
|
||
|
|
||
|
# to launch nmweb from gunicorn.
|
||
|
|
||
|
from nmweb import urls, index, search, show
|
||
|
import web
|
||
|
|
||
|
app = web.application(urls, globals())
|
||
|
|
||
|
# get the wsgi app from web.py application object
|
||
|
wsgiapp = app.wsgifunc()
|