diff --git a/mem_checker/mem_checker.py b/mem_checker/mem_checker.py index 616aaf1..3d7749e 100644 --- a/mem_checker/mem_checker.py +++ b/mem_checker/mem_checker.py @@ -14,12 +14,11 @@ class MessageDTO: class Command(ABC): @property def command(self): - return self.command + return self.__command @command.setter - @abstractmethod - def command(self, command: list): - pass + def command(self, cmd: list): + self.__command = cmd @abstractmethod def _stdout_parser(self, stdout: str) -> list[MessageDTO]: