From db706503fc5ee3d224589607442309643a86670c Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Thu, 3 Aug 2023 17:32:50 +0200 Subject: [PATCH] fix printing messages --- ereuse_devicehub/commands/check_install.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ereuse_devicehub/commands/check_install.py b/ereuse_devicehub/commands/check_install.py index 42bb5536..0e66d488 100644 --- a/ereuse_devicehub/commands/check_install.py +++ b/ereuse_devicehub/commands/check_install.py @@ -11,7 +11,7 @@ from ereuse_devicehub.resources.user.models import User class CheckInstall: """Command. - This command check if the instalation was ok and the + This command check if the installation was ok and the integration with the api of DLT was ok too. """ @@ -39,11 +39,11 @@ class CheckInstall: self.check_user() self.check_snapshot() except Exception: - txt = "There was an Error in the instalation!" + txt = "There was an Error in the installation!" print("\n" + self.FAIL + txt + self.ENDC) return - txt = "The instalation is OK!" + txt = "The installation is OK!" print("\n" + self.OKGREEN + txt + self.ENDC) def check_user(self): @@ -84,7 +84,7 @@ class CheckInstall: self.device = self.snapshot.device - txt = "Generate datas to build the dpp" + txt = "Generate DPP " try: assert self.device.chid is not None assert self.snapshot.json_wb is not None @@ -95,7 +95,7 @@ class CheckInstall: self.print_ok(txt) - txt = "Register Dpp in the DLT " + txt = "Register DPP in the DLT " try: assert len(self.device.dpps) > 0 dpp = self.device.dpps[0]