This commit is contained in:
involution 2024-11-19 05:11:07 -05:00
parent 44f55d75bd
commit bb8db94214

View file

@ -96,9 +96,6 @@ async def get_commit_count(url: str, headers: dict) -> int:
headers=headers headers=headers
) )
if response.status_code != 200:
raise HTTPError(response.status_code, response)
commit_count = 1 commit_count = 1
if 'Link' in response.headers: if 'Link' in response.headers:
link_header = response.headers['Link'] link_header = response.headers['Link']