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