fortnitepy icon indicating copy to clipboard operation
fortnitepy copied to clipboard

Type error when using str(user) on a player with null name

Open Luc1412 opened this issue 2 years ago • 0 comments

There are some cases when players neither got a EpicGames name nor an external auth name. (eg. for darkxdrift1242)

This causes a problem with str(user): TypeError: __str__ returned non-string (type NoneType). I believe this is an unexpected error. Maybe a string 'null' or 'none' might be better.

Luc1412 avatar Jan 23 '23 09:01 Luc1412