Fix dictionary get

This commit is contained in:
Andrew 2025-01-19 19:51:25 -05:00
parent 21ffc27920
commit 637b41ec60

View File

@ -94,7 +94,7 @@ class Players(list):
class Player:
def __init__(self, data):
self.id = data.get("id", "")
self.name = data("name", "Anonymous")
self.name = data.get("name", "Anonymous")
def __str__(self):
return self.name