small bugfix for python tester
Rust/sat-rs/pipeline/pr-main This commit looks good Details

This commit is contained in:
Robin Müller 2024-01-31 12:31:09 +01:00
parent 134feeb1b4
commit 4ace46e141
Signed by: muellerr
GPG Key ID: A649FB78196E3849
1 changed files with 2 additions and 1 deletions

View File

@ -45,7 +45,8 @@ def create_cmd_definition_tree() -> CmdTreeNode:
def pack_pus_telecommands(q: DefaultPusQueueHelper, cmd_path: str):
cmd_path_list = cmd_path.split("/")
# It should always be at least the root path "/", so we split of the empty portion left of it.
cmd_path_list = cmd_path.split("/")[1:]
if len(cmd_path_list) == 0:
_LOGGER.warning("empty command path")
return