From e2e2fcb6e5615b5f540f40a02611ff00503a56c2 Mon Sep 17 00:00:00 2001 From: Vadym Melnychuk Date: Mon, 17 Jul 2023 10:00:50 +0300 Subject: [PATCH] Fixed code style --- pyhon/commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyhon/commands.py b/pyhon/commands.py index fe61129..cea218b 100644 --- a/pyhon/commands.py +++ b/pyhon/commands.py @@ -119,9 +119,9 @@ class HonCommand: name = "program" if "PROGRAM" in self._category_name else "category" self._parameters[name] = HonParameterProgram(name, self, "custom") - async def send(self, onlyMandatory: bool = False) -> bool: + async def send(self, only_mandatory: bool = False) -> bool: grouped_params = ( - self.mandatory_parameter_groups if onlyMandatory else self.parameter_groups + self.mandatory_parameter_groups if only_mandatory else self.parameter_groups ) params = grouped_params.get("parameters", {}) return await self.send_parameters(params)