summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xwikiquery4
1 files changed, 2 insertions, 2 deletions
diff --git a/wikiquery b/wikiquery
index b7f7648..aba2b14 100755
--- a/wikiquery
+++ b/wikiquery
@@ -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]")