mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-04-29 23:11:09 -05:00
SpiffyTitles: minor edit to last commit
This commit is contained in:
parent
ea47c3cea2
commit
43098998af
@ -1676,7 +1676,6 @@ class SpiffyTitles(callbacks.Plugin):
|
|||||||
log.error("SpiffyTitles: Error reading Twitter JSON response")
|
log.error("SpiffyTitles: Error reading Twitter JSON response")
|
||||||
return self.handler_default(url, channel)
|
return self.handler_default(url, channel)
|
||||||
results = {}
|
results = {}
|
||||||
results["name"] = response["author_name"]
|
|
||||||
soup = BeautifulSoup(response["html"])
|
soup = BeautifulSoup(response["html"])
|
||||||
results["text"] = soup.text.replace("—", " - ").strip()
|
results["text"] = soup.text.replace("—", " - ").strip()
|
||||||
template = Template(self.registryValue("twitter.template", channel))
|
template = Template(self.registryValue("twitter.template", channel))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user