unicode() wrapped around strftime

This commit is contained in:
tpltnt 2013-03-27 09:31:03 +01:00
parent da7a60c60b
commit 3842b2be38
1 changed files with 1 additions and 1 deletions

View File

@ -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__":