From a846916b82735a0a965e35ab7b518d3cef2052d5 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Sat, 28 Nov 2020 12:38:15 -0500 Subject: [PATCH] remove unused argument --- archivebox/index/html.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/archivebox/index/html.py b/archivebox/index/html.py index 207f2fd3..d44137e3 100644 --- a/archivebox/index/html.py +++ b/archivebox/index/html.py @@ -52,10 +52,9 @@ def parse_html_main_index(out_dir: Path=OUTPUT_DIR) -> Iterator[str]: def generate_index_from_links(links: List[Link], with_headers: bool): if with_headers: - output = main_index_template(links, True) + output = main_index_template(links) else: - output = main_index_template(links, True, MINIMAL_INDEX_TEMPLATE) - return output + output = main_index_template(links, template=MINIMAL_INDEX_TEMPLATE) @enforce_types def main_index_template(links: List[Link], template: str=MAIN_INDEX_TEMPLATE) -> str: