Skip to content

Commit

Permalink
[Script] Fix miscs of make_notes.py (#15859)
Browse files Browse the repository at this point in the history
Fix miscs of make_notes.py
  • Loading branch information
ysh329 authored Oct 3, 2023
1 parent 646d3a2 commit a38053e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/scripts/release/make_notes.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def categorize_csv_file(csv_path: str):
repo = "tvm"

if args.convert_with_link:
with open("release_note_0.13.0.md", "r") as f:
with open(args.notes, "r") as f:
lines = f.readlines()
formated = []
for line in lines:
Expand All @@ -202,7 +202,7 @@ def categorize_csv_file(csv_path: str):
pr_dict = create_pr_dict(cache)

# 2. Categorize csv file as dict by category and subject (sub-category)
headings = categorize_csv_file(args.notes_csv)
headings = categorize_csv_file(args.notes)

# 3. Summarize and sort all categories
def sorter(x):
Expand Down

0 comments on commit a38053e

Please sign in to comment.