diff --git a/eive_tmtc/pus_tc/cmd_demux.py b/eive_tmtc/pus_tc/cmd_demux.py index 81b8213..7e45679 100644 --- a/eive_tmtc/pus_tc/cmd_demux.py +++ b/eive_tmtc/pus_tc/cmd_demux.py @@ -78,7 +78,7 @@ def handle_pus_procedure( # noqa C901: Complexity okay here. cmd_path = info.cmd_path assert cmd_path is not None cmd_path_list = cmd_path.split("/") - if cmd_path_list[0] == "/": + if cmd_path_list[0] == "": cmd_path_list = cmd_path_list[1:] if len(cmd_path_list) == 0: raise ValueError(