Fix bug when dump resource

This commit is contained in:
WQY\qiong
2022-12-17 10:14:24 +08:00
parent 4238a550f9
commit 58959786c6

View File

@@ -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}')