diff --git a/api/s18_sources.py b/api/s18_sources.py index 29c1fa7..432a4ee 100644 --- a/api/s18_sources.py +++ b/api/s18_sources.py @@ -130,7 +130,7 @@ def inp_out_source(name: str) -> list[str]: objs = read_all(name, 'select * from sources') for obj in objs: node = obj['node'] - s_type = obj['s_type'] + s_type = obj['type'] strength = obj['strength'] pattern = obj['pattern'] if obj['pattern'] != None else '' lines.append(f'{node} {s_type} {strength} {pattern}')