Fix truncation bug for library PyPI downloads
This commit is contained in:
parent
f5b014ddc6
commit
2128e27005
1 changed files with 1 additions and 1 deletions
|
|
@ -253,7 +253,7 @@ def run_library_checks(validators, kw_args, error_depth):
|
|||
if line.startswith(
|
||||
"**Total PyPI library downloads in the last 7 days:"
|
||||
):
|
||||
total_library_pypi_stats = int(line[51:-4])
|
||||
total_library_pypi_stats = int(line[51:-2])
|
||||
continue
|
||||
if line.startswith("|"):
|
||||
parts = [part.strip() for part in line.split("|") if part.strip()]
|
||||
|
|
|
|||
Loading…
Reference in a new issue