Skip to content

Commit 6fb9657

Browse files
authored
Merge pull request #321 from tekktrik/fix/downloads-tuncate
Fix truncation bug for library PyPI downloads
2 parents f5b014d + 2128e27 commit 6fb9657

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adabot/circuitpython_libraries.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def run_library_checks(validators, kw_args, error_depth):
253253
if line.startswith(
254254
"**Total PyPI library downloads in the last 7 days:"
255255
):
256-
total_library_pypi_stats = int(line[51:-4])
256+
total_library_pypi_stats = int(line[51:-2])
257257
continue
258258
if line.startswith("|"):
259259
parts = [part.strip() for part in line.split("|") if part.strip()]

0 commit comments

Comments
 (0)