Skip to content

Commit

Permalink
fix subgrade notes being the main grade note
Browse files Browse the repository at this point in the history
  • Loading branch information
greybaron committed Sep 18, 2024
1 parent 3bd0241 commit e2faee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/campus_backend/req_client_funcs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ pub fn extract_grades(html_text: String) -> Result<Vec<CampusDualGrade>> {
.unwrap()
.trim_start()
.to_string(),
grade: table_fields.grade_el.text().next().unwrap().to_string(),
grade: sub_table_fields.grade_el.text().next().unwrap().to_string(),
passed: sub_table_fields
.passed_el
.select(&IMG_SEL)
Expand Down

0 comments on commit e2faee9

Please sign in to comment.