Google: Prevent flooding when no matches are found.

This commit is contained in:
Valentin Lorentz 2012-08-26 07:37:40 +00:00
parent d2ab53cd19
commit 30f711b12f
1 changed files with 1 additions and 1 deletions

View File

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