unicode() wrapped around strftime
This commit is contained in:
parent
da7a60c60b
commit
3842b2be38
|
@ -48,7 +48,7 @@ def readDefaultKnownNodes(appdata):
|
||||||
for stream, storedValue in knownNodes.items():
|
for stream, storedValue in knownNodes.items():
|
||||||
for host,value in storedValue.items():
|
for host,value in storedValue.items():
|
||||||
port, storedtime = storedValue[host]
|
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__":
|
if __name__ == "__main__":
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user