Skip to content

Commit

Permalink
Merge pull request openstates#1135 from loandy/hotfix/mi
Browse files Browse the repository at this point in the history
MI: Adjusted for change in heading markup for committee pages.
  • Loading branch information
Andy Lo authored Jul 20, 2016
2 parents d7a0a15 + 5368d60 commit af8ddaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openstates/mi/committees.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def scrape_senate_committee(self, url):
html = self.get(url).text
doc = lxml.html.fromstring(html)

name = doc.xpath('//h3/text()')[0]
name = doc.xpath('//div[@id="committeeleft"]//h2[1]/text()')[0]
name = name.replace(' Committee', '')

com = Committee(chamber='upper', committee=name)
Expand Down

0 comments on commit af8ddaf

Please sign in to comment.