Description error
This commit is contained in:
parent
bd5d300386
commit
4e3a1f4ed3
@ -486,9 +486,8 @@ def watch():
|
|||||||
# Markup description
|
# Markup description
|
||||||
try:
|
try:
|
||||||
info['description'] = Markup(bleach.linkify(info['description'].replace("\n", "<br>")))
|
info['description'] = Markup(bleach.linkify(info['description'].replace("\n", "<br>")))
|
||||||
except AttributeError:
|
except AttributeError or TypeError:
|
||||||
print(info['description'])
|
print(info['description'])
|
||||||
info['description'] = Markup(bleach.linkify(info['description']))
|
|
||||||
|
|
||||||
|
|
||||||
# Get comments
|
# Get comments
|
||||||
|
Reference in New Issue
Block a user