diff options
| author | FBeans <phil@pgburton.com> | 2020-11-12 20:05:26 +0000 |
|---|---|---|
| committer | FBeans <phil@pgburton.com> | 2020-11-12 20:05:26 +0000 |
| commit | fea55856a9b2e24820ef73869bfb47079bf5fe1c (patch) | |
| tree | 433a2b473ee8bd705893220876018346133d0429 | |
| parent | 8c1ba91f22696451b12176f52bc0224a85757de6 (diff) | |
Remove check for negative index as it's already handled from the parser of args
| -rwxr-xr-x | wikiquery | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -91,10 +91,6 @@ def main(): index = int(args.pop(0)) -1 if args else None - if index < 1: - print ("Cannot search for index < 1") - sys.exit(0) - if options.search: search(topic, index) elif options.url: |
