From 30f711b12fcb3cae51452d03a4bbe9c8ee7a77ba Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sun, 26 Aug 2012 07:37:40 +0000 Subject: [PATCH] Google: Prevent flooding when no matches are found. --- plugins/Google/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Google/plugin.py b/plugins/Google/plugin.py index 7bb0aed21..a3e434079 100644 --- a/plugins/Google/plugin.py +++ b/plugins/Google/plugin.py @@ -138,7 +138,7 @@ class Google(callbacks.PluginRegexp): else: results.append(url) if not results: - return format(_('No matches found.')) + return [format(_('No matches found.'))] elif onetoone: return results else: