diff --git a/github_api/voting.py b/github_api/voting.py index bc06d582..2d11ae4d 100644 --- a/github_api/voting.py +++ b/github_api/voting.py @@ -129,9 +129,7 @@ def get_vote_sum(api, votes): total """ total = 0 for user, vote in votes.items(): - # I'm doing this just to see what will happen - # I'll revert it if it succeeds - weight = 1.0 if user.lower() == "plasmapower" else 0.0 + weight = get_vote_weight(api, user) total += weight * vote return total