diff --git a/pyAmakCore/classes/communicating_agent.py b/pyAmakCore/classes/communicating_agent.py index be6d0f017e1311317746d4b70d0dae89dce28166..2f27a64d6680ae04b48e20e43956a13bd14ab78e 100644 --- a/pyAmakCore/classes/communicating_agent.py +++ b/pyAmakCore/classes/communicating_agent.py @@ -106,12 +106,12 @@ class CommunicatingAgent(Agent): Override of phase 1 agent so he read mail before he perceive this is the first phase of a cycle """ - self._read_mails() + self.read_mails() self.on_perceive() self.compute_criticality() self._next_phase() - def _read_mails(self) -> None: + def read_mails(self) -> None: """ method that open all mail in the mailbox """