[core] Fix protected attributes in platformapi.py
This commit is contained in:
parent
fa3d8deb95
commit
33f3a02985
|
@ -126,8 +126,8 @@ class Censor:
|
||||||
"""
|
"""
|
||||||
if not await self.__is_appropriate(message):
|
if not await self.__is_appropriate(message):
|
||||||
return False
|
return False
|
||||||
for censor in self.hood_censors:
|
for censor in self.__hood_censors:
|
||||||
await censor.inbox.put(message)
|
await censor._inbox.put(message)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
async def receive(self):
|
async def receive(self):
|
||||||
|
|
Loading…
Reference in a new issue