diff options
-rwxr-xr-x | wikiquery | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -7,15 +7,18 @@ import wikipedia from functools import partial -version = "0.1.4" +version = "0.1.5" def stringify(o): if isinstance(o, list): output = [] + i = 0 for item in o: + item = `i` + ": " + item output.append(item.encode("utf-8", "replace")) + i = i + 1 - return '%s' % ', '.join(output) + return ' %s' % ', '.join(output) else: return o.encode("utf-8", "replace") |