From 82f881fc86ad0acce0c8aa25eeff1c7893a16a09 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 9 Feb 2024 13:52:25 +0000 Subject: [PATCH] Remove unused argument --- webapp_column_right.py | 5 ++--- webapp_frontscreen.py | 2 +- webapp_timeline.py | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/webapp_column_right.py b/webapp_column_right.py index 1cf718bce..354b866c3 100644 --- a/webapp_column_right.py +++ b/webapp_column_right.py @@ -50,8 +50,7 @@ def _votes_indicator(total_votes: int, positive_voting: bool) -> str: def get_right_column_content(base_dir: str, nickname: str, domain_full: str, - http_prefix: str, translate: {}, - moderator: bool, editor: bool, + translate: {}, moderator: bool, editor: bool, newswire: {}, positive_voting: bool, show_back_button: bool, timeline_path: str, show_publish_button: bool, @@ -533,7 +532,7 @@ def html_newswire_mobile(base_dir: str, nickname: str, icons_as_buttons) + '' html_str += \ get_right_column_content(base_dir, nickname, domain_full, - http_prefix, translate, + translate, moderator, editor, newswire, positive_voting, False, timeline_path, show_publish_button, diff --git a/webapp_frontscreen.py b/webapp_frontscreen.py index 9b1330ca1..987383d41 100644 --- a/webapp_frontscreen.py +++ b/webapp_frontscreen.py @@ -219,7 +219,7 @@ def html_front_screen(signing_priv_key_pem: str, ' \n' profile_footer_str += \ get_right_column_content(base_dir, 'news', domain_full, - http_prefix, translate, + translate, False, False, newswire, False, False, None, False, False, False, True, authorized, True, theme, diff --git a/webapp_timeline.py b/webapp_timeline.py index 0251e51dc..ac3969024 100644 --- a/webapp_timeline.py +++ b/webapp_timeline.py @@ -417,7 +417,7 @@ def _html_timeline_end(base_dir: str, nickname: str, domain_full: str, if not text_mode_browser(ua_str): right_column_str = \ get_right_column_content(base_dir, nickname, domain_full, - http_prefix, translate, + translate, moderator, editor, newswire, positive_voting, False, None, True,