From 30dbd7d11713f23920d797a42d070ce461debfa2 Mon Sep 17 00:00:00 2001 From: Sergey Vanyushkin Date: Fri, 12 Apr 2024 21:52:39 +0000 Subject: [PATCH] sync --- mem_checker/mem_checker.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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]: