mirror of https://gitlab.com/bashrc2/epicyon
Remove unused argument
parent
8711dbfabb
commit
82f881fc86
|
@ -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,
|
def get_right_column_content(base_dir: str, nickname: str, domain_full: str,
|
||||||
http_prefix: str, translate: {},
|
translate: {}, moderator: bool, editor: bool,
|
||||||
moderator: bool, editor: bool,
|
|
||||||
newswire: {}, positive_voting: bool,
|
newswire: {}, positive_voting: bool,
|
||||||
show_back_button: bool, timeline_path: str,
|
show_back_button: bool, timeline_path: str,
|
||||||
show_publish_button: bool,
|
show_publish_button: bool,
|
||||||
|
@ -533,7 +532,7 @@ def html_newswire_mobile(base_dir: str, nickname: str,
|
||||||
icons_as_buttons) + '</center>'
|
icons_as_buttons) + '</center>'
|
||||||
html_str += \
|
html_str += \
|
||||||
get_right_column_content(base_dir, nickname, domain_full,
|
get_right_column_content(base_dir, nickname, domain_full,
|
||||||
http_prefix, translate,
|
translate,
|
||||||
moderator, editor,
|
moderator, editor,
|
||||||
newswire, positive_voting,
|
newswire, positive_voting,
|
||||||
False, timeline_path, show_publish_button,
|
False, timeline_path, show_publish_button,
|
||||||
|
|
|
@ -219,7 +219,7 @@ def html_front_screen(signing_priv_key_pem: str,
|
||||||
' <td valign="top" class="col-right" tabindex="-1">\n'
|
' <td valign="top" class="col-right" tabindex="-1">\n'
|
||||||
profile_footer_str += \
|
profile_footer_str += \
|
||||||
get_right_column_content(base_dir, 'news', domain_full,
|
get_right_column_content(base_dir, 'news', domain_full,
|
||||||
http_prefix, translate,
|
translate,
|
||||||
False, False, newswire, False,
|
False, False, newswire, False,
|
||||||
False, None, False, False,
|
False, None, False, False,
|
||||||
False, True, authorized, True, theme,
|
False, True, authorized, True, theme,
|
||||||
|
|
|
@ -417,7 +417,7 @@ def _html_timeline_end(base_dir: str, nickname: str, domain_full: str,
|
||||||
if not text_mode_browser(ua_str):
|
if not text_mode_browser(ua_str):
|
||||||
right_column_str = \
|
right_column_str = \
|
||||||
get_right_column_content(base_dir, nickname, domain_full,
|
get_right_column_content(base_dir, nickname, domain_full,
|
||||||
http_prefix, translate,
|
translate,
|
||||||
moderator, editor,
|
moderator, editor,
|
||||||
newswire, positive_voting,
|
newswire, positive_voting,
|
||||||
False, None, True,
|
False, None, True,
|
||||||
|
|
Loading…
Reference in New Issue