Skip to content

Commit

Permalink
add docs of the function
Browse files Browse the repository at this point in the history
  • Loading branch information
braykuka committed Nov 26, 2024
1 parent 838842d commit 96049c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scrapers/wv/bills.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ class WVBillScraper(Scraper):
}

def get_year_and_stype(self, session):
# Get year and session type from the given session
# 2024 => year is 2024, session type is RS
# 20231S => year is 2023, session type is 1X
year = session[0:4]
session_type = session[4:].lower().replace("s", "x")
if not session_type:
Expand Down

0 comments on commit 96049c6

Please sign in to comment.