on_raw_part raises a KeyError due to unexpected None
Closed this issue · 0 comments
theunkn0wn1 commented
When the Pydle client parts a channel, whether willingly (client initiated) or forcefully (kick / server initiated), a KeyError is raised.
This appears to be caused by trailing whitespace being incorrectly interpreted as a nickname.
Since " "
isn't a valid username, the resulting logic that builds the list of users malfunctions, adding a None
entry into a non-nullable field.
caused by #114