view wk.py @ 427:bbe048e682ec

core: Be nice and handle case-sensitivity when linking to pages. Now making a wiki link to an existing page without using the correct casing will still work.
author Ludovic Chabant <ludovic@chabant.com>
date Thu, 30 Mar 2017 08:21:23 -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()