mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 06:34:25 -04:00
remove unused argument
This commit is contained in:
parent
10ee6db02f
commit
a846916b82
1 changed files with 2 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue