From 74a196a1ad0d420e3283b17802130a466578be2c Mon Sep 17 00:00:00 2001 From: Alexis Koralewski <akoralewski@port12066.irap.omp.eu> Date: Fri, 26 Mar 2021 12:34:06 +0100 Subject: [PATCH] fixing weather page (renaming function in agentM.py) --- src/core/pyros_django/monitoring/AgentM.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/core/pyros_django/monitoring/AgentM.py b/src/core/pyros_django/monitoring/AgentM.py index 21a2640..a16a012 100755 --- a/src/core/pyros_django/monitoring/AgentM.py +++ b/src/core/pyros_django/monitoring/AgentM.py @@ -145,7 +145,10 @@ class AgentM(Agent): ''' # @override - def routine_process(self): + # previous name of function : routine_process + # Note : in Agent.py, routine_process_body seems to be the main function of routine of the agent + # We need to override routine_process_body and not routine_process + def routine_process_body(self): print("TODO: we recycle code") status_plc = self.plcController.getStatus() if self.parseNewStatus(status_plc): -- libgit2 0.21.2