Skip to content
This repository has been archived by the owner on May 26, 2023. It is now read-only.

Commit

Permalink
update course types
Browse files Browse the repository at this point in the history
  • Loading branch information
Akylzhan committed Dec 21, 2020
1 parent 664e4a2 commit fbc5f9b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/courseList.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data/instructors.json

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion utilities/formatters.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,9 @@ def formatSchedule(courseId, termId):
return -1

for course in schedule:
st = course['ST'].replace('R', ' Recitation').replace('T', ' Tutorial')
cell = "\n"
cell += f"Type: *{course['ST']}*\n"
cell += f"Type: *{st}*\n"
cell += f"Days: {course['DAYS']}\n"
cell += f"Times: {course['TIMES']}\n"
cell += f"Profs: *{formatFaculty(course['FACULTY'])}*\n"
Expand Down

0 comments on commit fbc5f9b

Please sign in to comment.