diff options
-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.1" +version = "0.1.2" def stringify(o): if isinstance(o, list): @@ -65,7 +65,7 @@ def parse_args(): args = sys.argv[1:] if not args: - args = sys.stdin.read().splitlines() + args = sys.stdin.read().split() parser = optparse.OptionParser(usage="!wiki <topic> [index] [--search|--url]") |