Skip to content

Commit 3a79e3b

Browse files
committed
yeah
1 parent 6792acc commit 3a79e3b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

lib/dir_listing.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
auto_minutes_path = "auto-minutes/output/"
1212
wgname = "httpbis"
1313

14-
summary_header = """
15-
# Meeting Summary
14+
summary_header = f"""
15+
# Meeting Summary for {wgname}
1616
1717
**NOTE**: this is a non-normative, AI-generated summary supplied only for convenience; it does not necessarily represent an accurate record of the meeting. See the minutes for the authoriative record.
1818
"""
@@ -53,13 +53,13 @@ def fetch_summary(meeting):
5353
summary = [summary_header]
5454
with open(f"{auto_minutes_path}/{meeting}/.manifest.json") as fh:
5555
manifest = json.load(fh)
56-
sessions = [s.get("sessionId", None) for s in manifest['sessionGroups']
57-
if s["sessionName"].lower() == wgname.lower()]
58-
if not sessions:
56+
sessions_lists = [s["sessions"] for s in manifest["sessionGroups"]
57+
if s["sessionName"].lower() == wgname.lower()]
58+
if not session_lists:
5959
return
60-
for session_id in sessions:
61-
if not session_id:
62-
continue
60+
sessions = session_lists[0]
61+
session_ids = [s["sessionId"] for s in sessions]
62+
for session_id in session_ids:
6363
session_time = "-".join(session_id.rsplit("-", 2)[-2:])
6464
summary.append(f"# Session: {session_time}")
6565
with os.open(f"{auto_minutes_path}/{session_id}", "r") as fh:

0 commit comments

Comments
 (0)