Commit 0fb42750 authored by ibuler's avatar ibuler

[Update] 修改requirements

parent 967ca75a
...@@ -102,7 +102,8 @@ class Coco: ...@@ -102,7 +102,8 @@ class Coco:
self.command_recorder_class = get_command_recorder_class(self.config) self.command_recorder_class = get_command_recorder_class(self.config)
def new_command_recorder(self): def new_command_recorder(self):
return self.command_recorder_class(self) recorder = self.command_recorder_class(self)
return recorder
def new_replay_recorder(self): def new_replay_recorder(self):
return self.replay_recorder_class(self) return self.replay_recorder_class(self)
......
...@@ -261,7 +261,7 @@ class InteractiveServer: ...@@ -261,7 +261,7 @@ class InteractiveServer:
def search_and_proxy(self, opt): def search_and_proxy(self, opt):
self.search_assets(opt) self.search_assets(opt)
if len(self.search_result) == 1: if self.search_result and len(self.search_result) == 1:
self.proxy(self.search_result[0]) self.proxy(self.search_result[0])
else: else:
self.display_search_result() self.display_search_result()
......
...@@ -29,3 +29,4 @@ urllib3==1.22 ...@@ -29,3 +29,4 @@ urllib3==1.22
wcwidth==0.1.7 wcwidth==0.1.7
werkzeug==0.12.2 werkzeug==0.12.2
jumpserver-python-sdk==0.0.23 jumpserver-python-sdk==0.0.23
jms-es-sdk==0.5.1
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