diff --git a/webapp_utils.py b/webapp_utils.py index 31ea2c4c5..baf38a747 100644 --- a/webapp_utils.py +++ b/webapp_utils.py @@ -2008,7 +2008,11 @@ def html_following_data_list(base_dir: str, nickname: str, following_list.sort() if following_list: for following_address in following_list: - if following_address: - list_str += '\n' + if not following_address: + continue + if '@' not in following_address and \ + '://' not in following_address: + continue + list_str += '\n' list_str += '\n' return list_str