Commit 8f79f59c authored by ibuler's avatar ibuler

[bugfix] 修改小bug

parent 71c84880
......@@ -304,7 +304,7 @@ class InteractiveServer:
return PAGE_UP
elif opt in ('b', 'q'):
return BACK
elif opt.isdigit() and self.results and 0 < int(opt) <= len(self.results):
elif opt and opt.isdigit() and self.results and 0 < int(opt) <= len(self.results):
self.proxy(self.results[int(opt)-1])
return BACK
else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment