Skip to content

Commit 6874fb1

Browse files
authored
code refactor
1 parent 0dd027e commit 6874fb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: example_api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def get_data(url):
1414

1515

1616
def save_json(data):
17-
''' Save to a json file'''
17+
'''Save to a json file'''
1818
file = open('makeup_data.json', encoding='utf-8', mode='w')
1919
json.dump(data, file)
2020
file.close()

0 commit comments

Comments
 (0)