get first class only
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 8s

This commit is contained in:
Nexus 2024-05-03 20:21:33 +01:00
parent bd3ae275cc
commit 0f36e92785
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -88,7 +88,7 @@ class ElectionCog(commands.Cog):
results[str(groups["party"])] = [ results[str(groups["party"])] = [
int(groups["councillors"]), int(groups["councillors"]),
int(groups["net"]) * MULTI[groups["net_change"]], int(groups["net"]) * MULTI[groups["net_change"]],
int(find_colour(child_ul.next["class"])[1:], base=16) int(find_colour(child_ul.next["class"][0])[1:], base=16)
] ]
return results return results