From 3842b2be38dc103b7e0efdb2028c8f0da9f72ba0 Mon Sep 17 00:00:00 2001 From: tpltnt Date: Wed, 27 Mar 2013 09:31:03 +0100 Subject: [PATCH] unicode() wrapped around strftime --- defaultKnownNodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaultKnownNodes.py b/defaultKnownNodes.py index 250877da..4362368a 100644 --- a/defaultKnownNodes.py +++ b/defaultKnownNodes.py @@ -48,7 +48,7 @@ def readDefaultKnownNodes(appdata): for stream, storedValue in knownNodes.items(): for host,value in storedValue.items(): port, storedtime = storedValue[host] - print host, '\t', port, '\t', strftime('%a, %d %b %Y %I:%M %p',localtime(storedtime)) + print host, '\t', port, '\t', unicode(strftime('%a, %d %b %Y %I:%M %p',localtime(storedtime))) if __name__ == "__main__":