diff options
-rwxr-xr-x | wikiquery | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -7,7 +7,7 @@ import wikipedia from functools import partial -version = "0.1.2" +version = "0.1.3" def stringify(o): if isinstance(o, list): @@ -84,6 +84,9 @@ def main(): if args: topic = args.pop(0) + while len(args) > 0 and not(isinstance(args[0], (int,long))): + topic += " " + args.pop(0) + index = int(args.pop(0)) if args else None if options.search: |