Fix double bold
This commit is contained in:
parent
91f151b9b7
commit
dce9c4838a
2
app.py
2
app.py
@ -17,7 +17,7 @@ def boldify(name):
|
|||||||
query = request.args.get('q')
|
query = request.args.get('q')
|
||||||
name = Connector.boldify(name, query)
|
name = Connector.boldify(name, query)
|
||||||
for title in AnimeTitle.query.all():
|
for title in AnimeTitle.query.all():
|
||||||
if title.keyword is not query:
|
if title.keyword != query:
|
||||||
name = Connector.boldify(name, title.keyword)
|
name = Connector.boldify(name, title.keyword)
|
||||||
return name
|
return name
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user