diff --git a/plugins/commands.py b/plugins/commands.py index 7632c8b..9572d93 100644 --- a/plugins/commands.py +++ b/plugins/commands.py @@ -772,6 +772,8 @@ def search_the_web(argv, **args): return { 'msg': 'No direct result found, use {}'.format(redirect) } + else: + return {'msg': 'Sorry, no results.'} @pluginfunction('raise', 'only for debugging', ptypes_COMMAND)