quick_frontend: fix the history log message
This commit is contained in:
parent
e134c36aa7
commit
52a713cde9
1 changed files with 4 additions and 1 deletions
|
|
@ -156,7 +156,10 @@ class QuickChat(quick_widgets.QuickWidget):
|
|||
@param search (str): pattern to filter the history results
|
||||
@param profile (str): %(doc_profile)s
|
||||
"""
|
||||
log.debug(_("now we print the history (%d messages)") % size)
|
||||
log_msg = _(u"now we print the history")
|
||||
if size != C.HISTORY_LIMIT_DEFAULT:
|
||||
log_msg += _(u" (%d messages)" % size)
|
||||
log.debug(log_msg)
|
||||
|
||||
def onHistory(history):
|
||||
for line in history:
|
||||
|
|
|
|||
Loading…
Reference in a new issue