From 4e3a1f4ed39d98a33d7d0e2b35f9164a6ca40dc7 Mon Sep 17 00:00:00 2001 From: pluja Date: Sun, 11 Oct 2020 07:53:49 +0200 Subject: [PATCH] Description error --- app/routes.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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