Remove unused argument

merge-requests/30/head
Bob Mottram 2024-02-09 13:52:25 +00:00
parent 8711dbfabb
commit 82f881fc86
3 changed files with 4 additions and 5 deletions

View File

@ -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) + '</center>'
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,

View File

@ -219,7 +219,7 @@ def html_front_screen(signing_priv_key_pem: str,
' <td valign="top" class="col-right" tabindex="-1">\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,

View File

@ -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,