Skip to content

Commit

Permalink
修复mysql查询数据返回 (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-clan authored Aug 29, 2024
1 parent 8ff02c2 commit b0888e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion httpfpt/db/mysql.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def format_row(row: dict) -> None:
data_list = []
for i in query_data:
format_row(i)
data_list.append(data)
data_list.append(i)
return data_list
except Exception as e:
log.error(f'序列化 SQL 查询结果失败: {e}')
Expand Down

0 comments on commit b0888e6

Please sign in to comment.