Skip to content

Commit 649f7d5

Browse files
Copilotredreceipt
andcommitted
Make int conversion explicit for priority_percentage
Co-authored-by: redreceipt <2659478+redreceipt@users.noreply.github.com>
1 parent 2207feb commit 649f7d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -470,9 +470,9 @@ def record_breakdown(
470470
open_priority_bugs, key=lambda x: x["createdAt"]
471471
),
472472
"issue_count": len(created_priority_bugs),
473-
"priority_percentage": round(
473+
"priority_percentage": int(round(
474474
len(completed_priority_bugs) / total_completed_issues * 100
475-
) if total_completed_issues else 0,
475+
)) if total_completed_issues else 0,
476476
"leaderboard_entries": leaderboard_entries,
477477
"all_issues": created_priority_bugs + open_priority_bugs,
478478
"issues_by_platform": by_platform(created_priority_bugs),

0 commit comments

Comments
 (0)