Mercurial > touhou
diff eosd @ 363:cb1460b9b6cf
Enable debug messages when using --debug
| author | Thibaut Girka <thib@sitedethib.com> |
|---|---|
| date | Mon, 09 Jul 2012 22:12:04 +0200 |
| parents | cca5843c2e95 |
| children | 74471afbac37 |
line wrap: on
line diff
--- a/eosd Mon Jul 09 21:12:10 2012 +0200 +++ b/eosd Mon Jul 09 22:12:04 2012 +0200 @@ -16,6 +16,7 @@ import argparse import os import sys +import logging import pyximport pyximport.install() @@ -78,6 +79,7 @@ continues = 0 if debug: + logging.basicConfig(level=logging.DEBUG) continues = float('inf') if replay:
