Mercurial > wikked
view wk.py @ 492:eacacee352f7
core: Don't URL-encode endpoint separators (`:`).
This makes endpoint URLs nicer looking.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Wed, 07 Nov 2018 23:19:43 -0800 |
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()