Skip to content

Commit

Permalink
fix: 测试更新数据
Browse files Browse the repository at this point in the history
  • Loading branch information
nichuanfang committed Nov 29, 2023
1 parent 632b413 commit 39a66c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
text = my_file.read()
data = json.loads(text)
# 新增数据
data['data'].append({
data.append({
'name': '新数据',
'age': 18
})
Expand Down

0 comments on commit 39a66c7

Please sign in to comment.