mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Google: Prevent flooding when no matches are found.
This commit is contained in:
parent
d2ab53cd19
commit
30f711b12f
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user