diff --git a/api/s19_reactions.py b/api/s19_reactions.py index 5f2be70..500cf4e 100644 --- a/api/s19_reactions.py +++ b/api/s19_reactions.py @@ -223,14 +223,14 @@ def inp_out_reaction(name: str) -> list[str]: objs = read_all(name, f"select * from reactions_pipe_bulk") for obj in objs: pipe = obj['pipe'] - bulk = obj['bulk'] - lines.append(f'BULK {pipe} {bulk}') + value = obj['value'] + lines.append(f'BULK {pipe} {value}') objs = read_all(name, f"select * from reactions_pipe_wall") for obj in objs: pipe = obj['pipe'] - wall = obj['wall'] - lines.append(f'WALL {pipe} {wall}') + value = obj['value'] + lines.append(f'WALL {pipe} {value}') objs = read_all(name, f"select * from reactions_tank") for obj in objs: