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

Update guild.py #7

Merged
merged 2 commits into from Aug 23, 2021
Merged

Update guild.py #7

merged 2 commits into from Aug 23, 2021

Conversation

DistortedPumpkin
Copy link
Contributor

@DistortedPumpkin DistortedPumpkin commented Aug 23, 2021

Server currently returns None for channels and members on new guilds, which causes TypeError: 'NoneType' object is not iterable
Fix this by making the None returned by the server into an empty list, getting rid of the error

Server currently returns None for guilds with no channels, which causes `TypeError: 'NoneType' object is not iterable`
Fix this by making the None returned by the server into an empty list, getting rid of the error
@Cryptex-github Cryptex-github self-requested a review August 23, 2021 03:42
Fix TypeError on iterating through None
@Cryptex-github Cryptex-github merged commit f50d795 into FerrisChat:main Aug 23, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants