Replace None by "" for teams and twitter names

master
Lertsenem 2020-07-09 18:33:30 +02:00
parent 9427672d2f
commit 6370484c4e
1 changed files with 2 additions and 2 deletions

View File

@ -95,11 +95,11 @@ class Player():
chars = None
):
self.id = int(id) # actually intended to store an Entrant id
self.prefix = prefix
self.prefix = ( "" if prefix is None else prefix )
self.gamerTag = gamerTag
self.placement = int(placement)
self.seeding = int(seeding)
self.twitterHandle = twitterHandle
self.twitterHandle = ( "" if twitterHandle is None else twitterHandle )
if chars is None:
self.chars = {}