fix TypeError when API returns language bytes as string

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Mark Eaton
2026-01-25 00:18:23 -05:00
co-authored by Claude Opus 4.5
parent 95aaf91db4
commit d8f72b7837
+1 -1
View File
@@ -147,7 +147,7 @@ def aggregate_language_bytes(session: requests.Session, repos: list[dict]) -> di
timeout=30,
).json()
for lang, bytes_ in langs.items():
totals[lang] += bytes_
totals[lang] += int(bytes_)
return dict(totals)