From 5566a84e5af5bfb94ea190ef59903a90ff5b4972 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 16 Feb 2024 22:42:03 +0000 Subject: [PATCH] Debug --- webapp_profile.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webapp_profile.py b/webapp_profile.py index 6a4f7f30c..5c9cf2689 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -664,6 +664,7 @@ def _get_profile_header(base_dir: str, http_prefix: str, nickname: str, actor_proxied + acct_blog_str + '
\n' if joined_date: joined_str = translate['Joined'] + print('time_days_ago 1: ' + joined_date + ' ' + str(time_days_ago(joined_date))) if time_days_ago(joined_date) < 7: joined_str = '' + translate['New account'] + '' html_str += \ @@ -821,6 +822,7 @@ def _get_profile_header_after_search(base_dir: str, actor_proxied + '
\n' if joined_date: joined_str = translate['Joined'] + print('time_days_ago 2: ' + joined_date + ' ' + str(time_days_ago(joined_date))) if time_days_ago(joined_date) < 7: joined_str = '' + translate['New account'] + '' html_str += '

' + joined_str + ' ' + \