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:
|
else:
|
||||||
results.append(url)
|
results.append(url)
|
||||||
if not results:
|
if not results:
|
||||||
return format(_('No matches found.'))
|
return [format(_('No matches found.'))]
|
||||||
elif onetoone:
|
elif onetoone:
|
||||||
return results
|
return results
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user