1
0
mirror of http://aero2k.de/t/repos/urlbot-native.git synced 2017-09-06 15:25:38 +02:00

add response for no results

This commit is contained in:
Thorsten
2016-01-03 16:58:53 +01:00
parent f991184a73
commit 3d59f1d55e

View File

@@ -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)