Mercurial > wikked
view wk.py @ 174:298b9f5ccdac
Common code for fallback when Bcrypt is not available.
Quick workaround (changing current working directory) for correctly initializing
the Flask application.
WSGI helper to easily bootstrap a website for production.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 28 Jan 2014 20:34:11 -0800 |
parents | a71822a4beed |
children | c6dd9b0c5009 |
line wrap: on
line source
#!/usr/local/bin/python import logging from wikked.witch import main # Configure logging. logging.basicConfig(level=logging.DEBUG, format="[%(levelname)s]: %(message)s") if __name__ == "__main__": main()