commit b4d1a8a1392cc72bbb60f14c89a3d81390d5c154
Author: Arturo Filastò <art(a)fuffa.org>
Date: Mon May 5 15:00:35 2014 +0200
Also apply encoding to the debug level logs.
---
oonib/log.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/oonib/log.py b/oonib/log.py
index 36fe414..a79199e 100644
--- a/oonib/log.py
+++ b/oonib/log.py
@@ -88,7 +88,7 @@ def msg(msg, *arg, **kw):
def debug(msg, *arg, **kw):
if config.main.get('debug'):
- print "[D] %s" % msg
+ print "[D] %s" % log_encode(msg)
def warn(msg, *arg, **kw):