[core] Fix protected attributes in platformapi.py

This commit is contained in:
maike 2020-07-15 13:55:03 +02:00 committed by dl6tom
parent fa3d8deb95
commit 33f3a02985

View file

@ -126,8 +126,8 @@ class Censor:
"""
if not await self.__is_appropriate(message):
return False
for censor in self.hood_censors:
await censor.inbox.put(message)
for censor in self.__hood_censors:
await censor._inbox.put(message)
return True
async def receive(self):