summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xwikiquery2
1 files changed, 1 insertions, 1 deletions
diff --git a/wikiquery b/wikiquery
index ffbd1c7..0851a4b 100755
--- a/wikiquery
+++ b/wikiquery
@@ -86,7 +86,7 @@ def main():
if args:
topic = args.pop(0)
- while len(args) > 0 and not(isinstance(args[0], (int,long))):
+ while len(args) > 0 and not(isinstance(args[0], (int))):
topic += " " + args.pop(0)
index = int(args.pop(0)) if args else None