From cb611a6e97ff11754f58dabb904b54cf6aba6725 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 12 Oct 2023 13:24:08 +0100 Subject: [PATCH] Tidying --- posts.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/posts.py b/posts.py index 2961fcd87..0698e9432 100644 --- a/posts.py +++ b/posts.py @@ -214,10 +214,6 @@ def get_user_url(wf_request: {}, source_id: int, debug: bool) -> str: print('get_user_url webfinger activity+json ' + 'contains single user instance actor ' + str(source_id) + ' ' + str(link)) - else: - url = link['href'] - if not contains_invalid_actor_url_chars(url): - return remove_html(url) url = link['href'] if not contains_invalid_actor_url_chars(url): return remove_html(url)