fix mcwiki
This commit is contained in:
parent
954ff2ad00
commit
df1023da55
1 changed files with 1 additions and 1 deletions
|
@ -24,6 +24,6 @@ def mcwiki(inp):
|
||||||
summary = " ".join(p.text_content().splitlines())
|
summary = " ".join(p.text_content().splitlines())
|
||||||
summary = re.sub("\[\d+\]", "", summary)
|
summary = re.sub("\[\d+\]", "", summary)
|
||||||
summary = text.truncate_str(summary, 200)
|
summary = text.truncate_str(summary, 200)
|
||||||
return "{} :: {}".format(summary, url)
|
return u"{} :: {}".format(summary, url)
|
||||||
|
|
||||||
return "Unknown Error."
|
return "Unknown Error."
|
||||||
|
|
Reference in a new issue