Wikked/wk.py -rw-r--r-- 365 bytes View raw Log this file
38aab394d274Ludovic Chabant cm: Fix packaging build. 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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()