Unverified Commit 4df98923 authored by 老广's avatar 老广 Committed by GitHub

Merge pull request #160 from jumpserver/dev

[bugfix] 修改小bug
parents b3f0f502 8f79f59c
......@@ -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