diff --git a/app/routes.py b/app/routes.py index d010a68..7e47bb3 100644 --- a/app/routes.py +++ b/app/routes.py @@ -486,9 +486,8 @@ def watch(): # Markup description try: info['description'] = Markup(bleach.linkify(info['description'].replace("\n", "
"))) - except AttributeError: + except AttributeError or TypeError: print(info['description']) - info['description'] = Markup(bleach.linkify(info['description'])) # Get comments