From dce9c4838a3d5efd96431674632305ef3f724913 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?X=C3=A9fir=20Destiny?= Date: Sun, 15 Dec 2019 18:38:09 +0100 Subject: [PATCH] Fix double bold --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 9634ef8..84c7a2b 100644 --- a/app.py +++ b/app.py @@ -17,7 +17,7 @@ def boldify(name): query = request.args.get('q') name = Connector.boldify(name, query) for title in AnimeTitle.query.all(): - if title.keyword is not query: + if title.keyword != query: name = Connector.boldify(name, title.keyword) return name