data templates corrected
This commit is contained in:
@@ -32,7 +32,7 @@ def generate_department_wise_templates(sessions, data, output_dir):
|
||||
for s in entries:
|
||||
tag = " (Lab)" if s["course_type"] == "lab" else (" (General)" if s["is_general"] else "")
|
||||
batches = "+".join(s["batch_codes"])
|
||||
lines.append(f'{s["course_name"]}{tag} [{batches}]\n{s["instructor_name"]} @ {s["room_id"]}')
|
||||
lines.append(f'{s["course_name"]}{tag} [Sec {s["section_id"]}] [{batches}]\n{s["instructor_name"]} @ {s["room_id"]}')
|
||||
return "\n---\n".join(lines)
|
||||
|
||||
# for fill-color purposes just use the first session in each cell
|
||||
|
||||
Reference in New Issue
Block a user