pull/632/head
Mr Chen 6 months ago
parent 17a9f07f04
commit 49bfb5b3a8
  1. 2
      web/utils/ssh/ssh_local.py
  2. 1
      web/utils/ssh/ssh_terminal.py

@ -39,7 +39,7 @@ class ssh_local(object):
_instance_lock = threading.Lock()
def __init__(self):
pass
self.__debug_file = mw.getPanelDir()+ '/logs/ssh_terminal.log'
@classmethod
def instance(cls, *args, **kwargs):

@ -59,6 +59,7 @@ class ssh_terminal(object):
_instance_lock = threading.Lock()
def __init__(self):
self.__debug_file = mw.getPanelDir()+ '/logs/ssh_terminal.log'
ht = threading.Thread(target=self.heartbeat)
ht.start()

Loading…
Cancel
Save