From 0189305495ccf4989dac841df97c14b4a87c7520 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20B=C3=B6hme?= Date: Tue, 7 Mar 2017 16:48:32 +0100 Subject: [PATCH] Fix grep command in chat window Commit d75ebd95e5e3 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. --- src/command_system/implementation/standard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/command_system/implementation/standard.py b/src/command_system/implementation/standard.py index e9fc100f5..ba838eb40 100644 --- a/src/command_system/implementation/standard.py +++ b/src/command_system/implementation/standard.py @@ -100,7 +100,7 @@ class StandardCommonCommands(CommandContainer): raise CommandError(_("Limit must be an integer")) 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 kind == KindConstant.CHAT_MSG_SENT: