This commit is contained in:
yumoqing 2025-01-14 19:20:48 +08:00
parent df879450ea
commit 8570bf7eb8

View File

@ -49,12 +49,6 @@ class XtermProcessor(PythonScriptProcessor):
self.retResponse = ws
return ws
async def get_login_info(self):
async with aiofiles.open(self.real_path, 'r', encoding='utf-8') as f:
txt = await f.read()
self.login_info = json.loads(txt)
# print(f'{self.login_info=}')
async def create_process(self, lgoin_info):
# id = lenv['params_kw'].get('termid')
host = login_info['host']