utf8 output issue

master
Michael Murtaugh 7 years ago
parent d4d8c76aba
commit 768c6456cc

1
.gitignore vendored

@ -11,3 +11,4 @@ drop.node.json
archive.json
about.json
index.json
wiki/

@ -386,7 +386,7 @@ def recentfiles (args):
break
# Construct an item for output
print ("[{0}], date:{1}".format(filepage.page_title, r['timestamp']), file=sys.stderr)
print (u"[{0}], date:{1}".format(filepage.page_title, r['timestamp']).encode("utf-8"), file=sys.stderr)
usagepage = None
for usagepage in filepage.imageusage():
break # just grab the first usage page

Loading…
Cancel
Save