From dfbe47708879a992bc89f704636c55f521730b11 Mon Sep 17 00:00:00 2001 From: pyros_astroguita Date: Thu, 19 Oct 2023 10:53:15 +0200 Subject: [PATCH] debug A_SCP_Manager fn --- src/core/pyros_django/scp_mgmt/A_SCP_Manager.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/core/pyros_django/scp_mgmt/A_SCP_Manager.py b/src/core/pyros_django/scp_mgmt/A_SCP_Manager.py index 1ae97d1..c31f45a 100644 --- a/src/core/pyros_django/scp_mgmt/A_SCP_Manager.py +++ b/src/core/pyros_django/scp_mgmt/A_SCP_Manager.py @@ -58,9 +58,8 @@ class A_SCP_Manager(Agent): super().__init__() next_period = Period.objects.next_period() period = next_period - self.pconfig = self._oc['pyros_config'] - self._fn = self.config.fn self.config = self._oc['config'] + self._fn = self.config.fn self._fn.pathnaming("PyROS.seq.1") # @override @@ -259,7 +258,7 @@ class A_SCP_Manager(Agent): def set_quota_for_SP(self, id_period): period = Period.objects.get(id=id_period) - for sp_period in SP_Period.objects.filter(period=period) + for sp_period in SP_Period.objects.filter(period=period): sp = sp_period.scientific_program institute = sp.institute institute_quota = institute.quota -- libgit2 0.21.2