From 009c868262aa352df777af32ce8226c5d60056ca Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 1 Mar 2022 14:14:08 +0000 Subject: [PATCH] Test for likes --- webapp_post.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp_post.py b/webapp_post.py index 321750f7d..f21b49896 100644 --- a/webapp_post.py +++ b/webapp_post.py @@ -663,7 +663,7 @@ def _get_like_icon_html(nickname: str, domain_full: str, # create the link to likers of the post likers_post_id = like_post_id.replace('/', '--') likers_screen_link = like_title + like_count_str - if like_count > 0: + if like_count_str: likers_screen_link = \ '/users/' + nickname + '?likers=' + likers_post_id likers_screen_link = \