mirror of
https://github.com/Andre0512/pyhOn.git
synced 2025-05-10 23:42:11 +00:00
cleanup
This commit is contained in:
parent
a17692940b
commit
ecdb976c41
|
@ -120,7 +120,8 @@ class HonCommand:
|
|||
self._parameters[name] = HonParameterProgram(name, self, "custom")
|
||||
|
||||
async def send(self, onlyMandatory: bool = False) -> bool:
|
||||
grouped_params = self.mandatory_parameter_groups if onlyMandatory else self.parameter_groups
|
||||
grouped_params = self.mandatory_parameter_groups \
|
||||
if onlyMandatory else self.parameter_groups
|
||||
params = grouped_params.get("parameters", {})
|
||||
ancillary_params = self.parameter_groups.get("ancillaryParameters", {})
|
||||
ancillary_params.pop("programRules", None)
|
||||
|
|
Loading…
Reference in a new issue