diff --git a/scripts/issues.py b/scripts/issues.py index 27bd64c34..d5467c3ee 100755 --- a/scripts/issues.py +++ b/scripts/issues.py @@ -33,7 +33,7 @@ def get_issues(state="open"): params={"state": state, "per_page": 1}, ) response.raise_for_status() - total_count = int(response.headers.get('Link', '').split('page=')[-1].split('>')[0]) + total_count = int(response.headers.get("Link", "").split("page=")[-1].split(">")[0]) total_pages = (total_count + per_page - 1) // per_page with tqdm(total=total_pages, desc="Collecting issues", unit="page") as pbar: