Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions opencodeblocks/blocks/executableblock.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,10 +287,10 @@ def run_right(self):

# Gather outputs
blocks_to_run, _ = self.custom_bfs(self, reverse=True)
self.blocks_to_run = blocks_to_run
self.blocks_to_run = [self] + blocks_to_run

# For each output found
for block in blocks_to_run.copy()[::-1]:
for block in self.blocks_to_run.copy()[::-1]:
# Gather dependencies
new_blocks_to_run, _ = self.custom_bfs(block)
self.blocks_to_run += new_blocks_to_run
Expand Down