From 5e6a0930a86e8fe67e3d3bf2e6d4290935161e6a Mon Sep 17 00:00:00 2001 From: Thorsten Date: Fri, 12 Oct 2018 22:40:21 +0200 Subject: [PATCH] fix search --- distbot/plugins/searx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distbot/plugins/searx.py b/distbot/plugins/searx.py index 30fe698..a322682 100644 --- a/distbot/plugins/searx.py +++ b/distbot/plugins/searx.py @@ -96,7 +96,7 @@ class Searx(Worker): result = self.searx(' '.join(get_words(msg)[1:])) if not result: - return {'msg': 'Sorry, no results.'} + return Action(msg='Sorry, no results.') else: abstract, url, provider = result -- 2.39.2