This commit is contained in:
parent
f756df43a2
commit
2bb917eab7
@ -78,7 +78,7 @@ def handle_pus_procedure( # noqa C901: Complexity okay here.
|
|||||||
cmd_path = info.cmd_path
|
cmd_path = info.cmd_path
|
||||||
assert cmd_path is not None
|
assert cmd_path is not None
|
||||||
cmd_path_list = cmd_path.split("/")
|
cmd_path_list = cmd_path.split("/")
|
||||||
if cmd_path_list[0] == "/":
|
if cmd_path_list[0] == "":
|
||||||
cmd_path_list = cmd_path_list[1:]
|
cmd_path_list = cmd_path_list[1:]
|
||||||
if len(cmd_path_list) == 0:
|
if len(cmd_path_list) == 0:
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user