fix(log) fix load_full_log function bug

fixed
pull/177/head
ibuler 2016-03-29 17:11:56 +08:00
parent d2b4594bc2
commit d31f882f1a
1 changed files with 1 additions and 1 deletions

View File

@ -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: