view wk.py @ 394:dbe7dde07e85

runserver: Fix wiki updater not being set properly. The wiki updater was set but subsequently overwritten in the `runserver` command along with all the wiki factory params. Now we store them on the settings objects for the app to pick up on creation.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 14 Oct 2015 22:58:00 -0700
parents 2dd7535045eb
children
line wrap: on
line source

#!/usr/local/bin/python
import sys
import logging
import colorama
from wikked.witch import ColoredFormatter, main


# Configure logging.
colorama.init()
root_logger = logging.getLogger()
handler = logging.StreamHandler(stream=sys.stdout)
handler.setFormatter(ColoredFormatter('%(message)s'))
root_logger.addHandler(handler)


if __name__ == "__main__":
    main()