Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Luc1412 opened this issue Jan 23, 2023 · 0 comments
Open

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

Luc1412 opened this issue Jan 23, 2023 · 0 comments

Comments

@Luc1412
Copy link
Contributor

Luc1412 commented Jan 23, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant