diff options
Diffstat (limited to 'wikiquery')
-rwxr-xr-x | wikiquery | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -13,11 +13,11 @@ def stringify(o): if isinstance(o, list): output = [] for i, item in enumerate(o, 1): - output.append("%s: %s" % (i, item.encode("utf-8", "replace"))) + output.append("%s: %s" % (i, item)) return ' %s' % ', '.join(output) else: - return o.encode("utf-8", "replace") + return o; def display(o): print (stringify(o)) |