please, work?

This commit is contained in:
Luke Rogers 2013-08-20 10:55:58 +12:00
parent 08b1e82f41
commit c05b6b25c2
3 changed files with 17 additions and 9 deletions

View file

@ -23,7 +23,7 @@ def mcwiki(inp):
if p.text_content():
summary = " ".join(p.text_content().splitlines())
summary = re.sub("\[\d+\]", "", summary)
summary = text.truncate_str(summary, 250)
return "%s :: \x02%s\x02" % (summary, url)
summary = text.truncate_str(summary, 200)
return "%s :: %s" % (summary, url)
return "Unknown Error."