From 3e531677bd22cccc9f4dffb8e75eefe813c48db9 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 28 May 2022 18:01:43 +0100 Subject: [PATCH 1/2] String cast --- webfinger.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webfinger.py b/webfinger.py index d2feaec80..4c7807917 100644 --- a/webfinger.py +++ b/webfinger.py @@ -124,8 +124,8 @@ def webfinger_handle(session, handle: str, http_prefix: str, if result: store_webfinger_in_cache(wf_handle, result, cached_webfingers) else: - print("WARN: Unable to webfinger " + url + ' ' + - 'from_domain: ' + from_domain + ' ' + + print("WARN: Unable to webfinger " + str(url) + ' ' + + 'from_domain: ' + str(from_domain) + ' ' + 'nickname: ' + str(nickname) + ' ' + 'handle: ' + str(handle) + ' ' + 'wf_handle: ' + str(wf_handle) + ' ' + From 70fb096a4c71cee55b7c253c41e150fe72aa8dc3 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 28 May 2022 23:08:23 +0100 Subject: [PATCH 2/2] Page up and town link to the top of the timeline --- webapp_timeline.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webapp_timeline.py b/webapp_timeline.py index ce5b0a1e1..918f0ac42 100644 --- a/webapp_timeline.py +++ b/webapp_timeline.py @@ -907,7 +907,7 @@ def html_timeline(css_cache: {}, default_timeline: str, '
\n' + \ ' ' + \ '' + \ '' + \ + '#timelineposts" class="imageAnchor" tabindex="9">' + \ '' + \ + '#timelineposts" class="imageAnchor" tabindex="9">' + \ '