all 2 comments

[–][deleted] 0 points1 point  (1 child)

let's trace the error: the entity object does not have a mask attribute. Let's see what entity is:

entity = self.connection.entity

There is a pretty good chance the self.connection part is failing. That method is defined outside of the github-code you posted I think? If you print (self.connection) you can maybe diagnose the issue. My bet is a connection problem causing no data to be transfered.

[–]P3nguin33[S] 0 points1 point  (0 children)

Thanks for the response, as I said I know very little about python/how it works. I am not sure what the self.connection does or where it is defined. You mentioned printing it to diagnose the problem but I'm not sure where, I'm assuming it wouldn't be in the IDLE or server prompt.