A few more tweaks to plugins/google.py

This commit is contained in:
lukeroge 2012-02-20 10:56:38 +13:00
parent 0f78c6dd8e
commit 55549c7d26

View file

@ -49,7 +49,7 @@ def google(inp):
out = ' '.join(out.split())
if len(out) > 300:
out = out[:out.rfind(' ')] + '..."'
if len(out) > 250:
out = out[:out.rfind(' ')] + '...'
return out