fix: Breaking patch
This commit is contained in:
parent
2e0a1c7485
commit
d89bbba0cb
1 changed files with 1 additions and 1 deletions
|
|
@ -14,5 +14,5 @@ def get_read_time(blog):
|
|||
if blog.content_type == "Markdown":
|
||||
content = markdown(blog.content_md)
|
||||
|
||||
total_words = len(strip_html_tags(content).split())
|
||||
total_words = len(strip_html_tags(content or "").split())
|
||||
return ceil(total_words/250)
|
||||
Loading…
Add table
Reference in a new issue