diff options
author | wjoe <joe@lc8n.com> | 2013-09-10 17:19:11 +0100 |
---|---|---|
committer | wjoe <joe@lc8n.com> | 2013-09-10 17:19:11 +0100 |
commit | f1a9207d16bebcf8126ae6d9a15c369ab1270ccd (patch) | |
tree | 8392f0e51b37fd48e005fce07222fd27c00af719 | |
parent | e39a70c28edc9a5ed052152fc2535ae24246f4cd (diff) |
Changed list output to numbered list and not use quotes
-rwxr-xr-x | wikiquery | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,7 +7,7 @@ import wikipedia from functools import partial -version = "0.1.3" +version = "0.1.4" def stringify(o): if isinstance(o, list): @@ -15,7 +15,7 @@ def stringify(o): for item in o: output.append(item.encode("utf-8", "replace")) - return '"%s"' % '", "'.join(output) + return '%s' % ', '.join(output) else: return o.encode("utf-8", "replace") |