mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-04-25 20:41:21 -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")
|
||||
return self.handler_default(url, channel)
|
||||
results = {}
|
||||
results["name"] = response["author_name"]
|
||||
soup = BeautifulSoup(response["html"])
|
||||
results["text"] = soup.text.replace("—", " - ").strip()
|
||||
template = Template(self.registryValue("twitter.template", channel))
|
||||
|
Loading…
x
Reference in New Issue
Block a user