From f9bb97300ae4149babcafdaa5a595ba3049d5e91 Mon Sep 17 00:00:00 2001 From: Brian Kanyora Date: Wed, 7 Jun 2023 11:09:00 +0100 Subject: [PATCH] feature\898: Added doc strings --- src/primaite/nodes/active_node.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/primaite/nodes/active_node.py b/src/primaite/nodes/active_node.py index 3ec2d16d..b7a5ffa9 100644 --- a/src/primaite/nodes/active_node.py +++ b/src/primaite/nodes/active_node.py @@ -212,15 +212,15 @@ class ActiveNode(Node): self.file_system_scanning_count = 0 def update_resetting_status(self): + """Updates the reset count & makes software and file state to GOOD.""" super().update_resetting_status() if self.resetting_count <= 0: self.file_system_state_actual = FileSystemState.GOOD self.software_state = SoftwareState.GOOD - def update_booting_status(self): + """Updates the booting software and file state to GOOD.""" super().update_booting_status() if self.booting_count <= 0: - self.file_system_state_actual =FileSystemState.GOOD + self.file_system_state_actual = FileSystemState.GOOD self.software_state = SoftwareState.GOOD -