Fix grep command in chat window
Commit d75ebd95e5
modified the return value of logger.py's method
get_search_results_for_query by appending another component to the
tuple. Because of this unpacking the tuple in the command system's grep
command failed.
This commit is contained in:
parent
ceb7772b5b
commit
0189305495
|
@ -100,7 +100,7 @@ class StandardCommonCommands(CommandContainer):
|
||||||
raise CommandError(_("Limit must be an integer"))
|
raise CommandError(_("Limit must be an integer"))
|
||||||
|
|
||||||
for row in results:
|
for row in results:
|
||||||
contact, time, kind, show, message, subject = row
|
contact, time, kind, show, message, subject, log_line_id = row
|
||||||
|
|
||||||
if not contact:
|
if not contact:
|
||||||
if kind == KindConstant.CHAT_MSG_SENT:
|
if kind == KindConstant.CHAT_MSG_SENT:
|
||||||
|
|
Loading…
Reference in New Issue