From e13bb53b9853122da38c3520c11e80df5ac071ff Mon Sep 17 00:00:00 2001 From: "WQY\\qiong" Date: Fri, 25 Nov 2022 23:35:29 +0800 Subject: [PATCH] Fix dump key work error --- api/s19_reactions.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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: