Replies: 1 comment 1 reply
-
This wall already fixed: def get_body_soup(self):
""" Returns the beautifulsoup4 of the html body
:return: BeautifulSoup object of body
:rtype: BeautifulSoup
"""
if self.body_type.upper() != 'HTML':
return None
else:
return bs(self.body, 'html.parser') Update to last version please |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I never really worked on GitHub so pardon me please if I'm wrong here. I just found a little bug in Calendar Events methods get_body_text and get_body_soup and thought it would be nice to let you know:
The comparison of self.body_type with 'HTML' doesn't work if body_type is 'html' and therefore this check fails altough it's still HTML.
Beta Was this translation helpful? Give feedback.
All reactions