From 5ef4446f293711789d817ff4139ef8f936b24c77 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 20 Feb 2023 11:37:57 +0000 Subject: [PATCH] Double space --- webapp_search.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webapp_search.py b/webapp_search.py index 6bbc8012e..71e2fa8b3 100644 --- a/webapp_search.py +++ b/webapp_search.py @@ -1118,11 +1118,11 @@ def html_hashtag_search_remote(nickname: str, domain: str, port: int, item_ctr = 0 new_lines = [] for line in lines: - section = line.split(' ') - if len(section) < 4: + section = line.split(' ') + if len(section) < 3: continue if curr_page == page_number: - new_lines.append(section[3].replace('#', '/')) + new_lines.append(section[2].replace('#', '/')) item_ctr += 1 if item_ctr >= posts_per_page: item_ctr = 0