test
This commit is contained in:
parent
7e308082e3
commit
0166950b7a
@ -83,13 +83,13 @@ def rebuild_pipes(commands, trigger_str_add=None):
|
||||
|
||||
if not trigger_str_add:
|
||||
repipe_trigger_dict = commands[0]
|
||||
index_value = 1
|
||||
next_index_value = 1
|
||||
else:
|
||||
repipe_trigger_dict = commands[1]
|
||||
repipe_trigger_dict["trigger_str"] += " %s" % trigger_str_add
|
||||
index_value = 2
|
||||
next_index_value = 2
|
||||
|
||||
for trigger_dict in commands[index_value:]:
|
||||
for trigger_dict in commands[next_index_value:]:
|
||||
|
||||
if trigger_dict["trigger_type"] == "command":
|
||||
repipe_trigger_dict["trigger_str"] += " %s %s%s %s" % (sb.commands.pipe_split_key,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user