Description error

This commit is contained in:
pluja 2020-10-11 07:53:49 +02:00
parent bd5d300386
commit 4e3a1f4ed3

View File

@ -486,9 +486,8 @@ def watch():
# Markup description
try:
info['description'] = Markup(bleach.linkify(info['description'].replace("\n", "<br>")))
except AttributeError:
except AttributeError or TypeError:
print(info['description'])
info['description'] = Markup(bleach.linkify(info['description']))
# Get comments