Skip to content

Commit

Permalink
fix small issue
Browse files Browse the repository at this point in the history
  • Loading branch information
braykuka committed Nov 26, 2024
1 parent 96049c6 commit 98770d9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scrapers/wv/bills.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,9 @@ def get_year_and_stype(self, 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")
session_type = session[4:].upper().replace("S", "X")
if not session_type:
session_type = "rs"
session_type = session_type.upper()
session_type = "RS"
return (year, session_type)

def scrape(self, chamber=None, session=None):
Expand Down

0 comments on commit 98770d9

Please sign in to comment.