From: Thorsten Date: Fri, 12 Oct 2018 20:40:21 +0000 (+0200) Subject: fix search X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=5e6a0930a86e8fe67e3d3bf2e6d4290935161e6a;p=urlbot-v3.git fix search --- 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