Skip to content

Commit

Permalink
Fix error when parse papers that need to be redone
Browse files Browse the repository at this point in the history
  • Loading branch information
chettoy committed May 17, 2022
1 parent fe201ed commit 254cb6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fxxkstar.py
Original file line number Diff line number Diff line change
Expand Up @@ -1627,7 +1627,7 @@ class MarkResultItem:
top_div = soup.find("div", class_="ZyTop")
status_el = top_div.select("h3 span")
status_title = status_el[0].text.strip() if status_el else ''
assert status_title in ["待做", "已完成"]
assert status_title in ["待做", "已完成", "未达到及格线,请重做"]
marked = status_title == "已完成"
score = -1

Expand Down

0 comments on commit 254cb6c

Please sign in to comment.