mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-31 06:46:24 +00:00
Merge pull request #177 from jumpserver/fixed_log
fix(log) fix load_full_log function bug
This commit is contained in:
@@ -317,7 +317,7 @@ class TermLogRecorder(object):
|
||||
if self._lists:
|
||||
self.file = self._lists.get(filename=filename)
|
||||
else:
|
||||
self.file = TermLog.objects.get(user=user.id, filename=filename)
|
||||
self.file = TermLog.objects.get(filename=filename)
|
||||
if self.file.logPath == 'locale':
|
||||
return self.file.log
|
||||
else:
|
||||
|
Reference in New Issue
Block a user