Skip to content
This repository has been archived by the owner on Nov 14, 2021. It is now read-only.

Commit

Permalink
💡 Move to GitHub issue #122
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner committed Sep 24, 2021
1 parent 81e09f5 commit 1892802
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion compass/core/_scrapers/member_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,6 @@ def _process_role_data(role: html.HtmlElement) -> tuple[int, dict[str, Union[Non
role_data["role_title"] = child_nodes[0].text_content()
role_data["role_start"] = parse_date(child_nodes[1].text_content())
status_with_review = child_nodes[2].text_content()
# TODO for `Ending: blah` roles, should we store the ending date?
if status_with_review.startswith("Full (Review Due: ") or status_with_review.startswith("Full (Ending: "):
role_data["role_status"] = "Full"
date_str = status_with_review.removeprefix("Full (Review Due: ").removeprefix("Full (Ending: ").rstrip(")")
Expand Down

0 comments on commit 1892802

Please sign in to comment.