From 665b3cfce83e332cd0e91766be7936662ae05ebd Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 28 Nov 2025 18:01:09 +0800 Subject: [PATCH] bugfix --- wwwroot/connecthost.xterm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wwwroot/connecthost.xterm b/wwwroot/connecthost.xterm index f9b73e4..c7fc127 100644 --- a/wwwroot/connecthost.xterm +++ b/wwwroot/connecthost.xterm @@ -20,8 +20,9 @@ where a.id= ${id}$ "ownerid":ns['ownerid'], "id":r.jumperid } - r.jumperservers = await gethostinfo(sor, ns) - debug(f'connecthost.xterm:{r=}') + j = await gethostinfo(sor, ns) + if j: + r.jumpservers = [j] return DictObject(**r) db = DBPools()