Double space

main
Bob Mottram 2023-02-20 11:37:57 +00:00
parent c6eee6985d
commit 5ef4446f29
1 changed files with 3 additions and 3 deletions

View File

@ -1118,11 +1118,11 @@ def html_hashtag_search_remote(nickname: str, domain: str, port: int,
item_ctr = 0 item_ctr = 0
new_lines = [] new_lines = []
for line in lines: for line in lines:
section = line.split(' ') section = line.split(' ')
if len(section) < 4: if len(section) < 3:
continue continue
if curr_page == page_number: if curr_page == page_number:
new_lines.append(section[3].replace('#', '/')) new_lines.append(section[2].replace('#', '/'))
item_ctr += 1 item_ctr += 1
if item_ctr >= posts_per_page: if item_ctr >= posts_per_page:
item_ctr = 0 item_ctr = 0