removed unnecessary todo

This commit is contained in:
Lynne 2018-12-12 15:44:22 +10:00
parent 0625086b4c
commit e48ce83b02
No known key found for this signature in database
GPG Key ID: FB7B970303ACE499

View File

@ -54,7 +54,6 @@ def extract_toot(toot):
soup = BeautifulSoup(toot, "html.parser")
# this is the code that removes all mentions
# TODO: make it so that it removes the @ and instance but keeps the name
for mention in soup.select("span.h-card"):
mention.a.unwrap()
mention.span.unwrap()