mirror of https://github.com/jumpserver/jumpserver
Merge pull request #172 from jumpserver/web_log
fix(web terminal and log kill) fix close web terminal when not init finishedpull/174/head
commit
2f9255a46f
|
@ -285,7 +285,10 @@ class TermLogRecorder(object):
|
|||
timestamp=int(self.recoderStartTime))
|
||||
if self.user:
|
||||
record.user.add(self.user)
|
||||
del TermLogRecorder.loglist[str(self.id)]
|
||||
try:
|
||||
del TermLogRecorder.loglist[str(self.id)]
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
def list(self, user=None, uid=None):
|
||||
tmp = []
|
||||
|
|
Loading…
Reference in New Issue