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 archive.json
about.json about.json
index.json index.json
wiki/

@ -386,7 +386,7 @@ def recentfiles (args):
break break
# Construct an item for output # 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 usagepage = None
for usagepage in filepage.imageusage(): for usagepage in filepage.imageusage():
break # just grab the first usage page break # just grab the first usage page

Loading…
Cancel
Save