please, work?
This commit is contained in:
parent
08b1e82f41
commit
c05b6b25c2
3 changed files with 17 additions and 9 deletions
|
@ -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."
|
||||
|
|
Reference in a new issue