citationextractor/app.py

11 lines
304 B
Python
Raw Permalink Normal View History

2016-02-14 19:18:39 +01:00
#!/usr/bin/env python3
import bottle
import main
import os
# Change working directory so relative paths (and template lookup) work again
os.chdir(os.path.dirname(__file__))
# ... build or import your bottle application here ...
# Do NOT use bottle.run() with mod_wsgi
application = bottle.default_app()