Remove default function arguments

merge-requests/30/head
Bob Mottram 2024-05-01 11:29:16 +01:00
parent 7acc88e848
commit 5913ddc823
1 changed files with 2 additions and 2 deletions

View File

@ -4984,8 +4984,8 @@ def _expire_posts_cache_for_person(base_dir: str,
def archive_posts(base_dir: str, http_prefix: str, archive_dir: str, def archive_posts(base_dir: str, http_prefix: str, archive_dir: str,
recent_posts_cache: {}, recent_posts_cache: {},
max_posts_in_box: int = 32000, max_posts_in_box: int,
max_cache_age_days: int = 30) -> None: max_cache_age_days: int) -> None:
"""Archives posts for all accounts """Archives posts for all accounts
""" """
if max_posts_in_box == 0: if max_posts_in_box == 0: