mirror of https://github.com/jumpserver/jumpserver
紧急修复监控白屏问题
parent
6fcfb385cd
commit
6e48fe6357
|
@ -341,7 +341,7 @@ class TermLogRecorder(object):
|
||||||
if self._lists:
|
if self._lists:
|
||||||
self.file = self._lists.get(filename=filename)
|
self.file = self._lists.get(filename=filename)
|
||||||
else:
|
else:
|
||||||
self.file = TermLog.objects.get(user=user.id, filename=filename)
|
self.file = TermLog.objects.get(filename=filename)
|
||||||
return self.file.history
|
return self.file.history
|
||||||
return 'ERROR User(None)'
|
return 'ERROR User(None)'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue