Skip to content

Commit caca75f

Browse files
committed
Add smoothing to tqdm running average
1 parent c738711 commit caca75f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

confluence_markdown_exporter/confluence.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -763,6 +763,6 @@ def export_pages(page_ids: list[int], output_path: StrPath) -> None:
763763
page_ids: List of pages to export.
764764
output_path: The output path.
765765
"""
766-
for page_id in (pbar := tqdm(page_ids)):
766+
for page_id in (pbar := tqdm(page_ids, smoothing=0.05)):
767767
pbar.set_postfix_str(f"Exporting page {page_id}")
768768
export_page(page_id, output_path)

0 commit comments

Comments
 (0)