Skip to content

Commit

Permalink
MO: Committees: Fix a site issue that poped up
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Tagliamonte committed Mar 5, 2013
1 parent 107108f commit 716e76b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openstates/mo/committees.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def scrape_reps_committees(self, term_name, chamber):
url = '{base}ActiveCommittees.aspx'.format(base=self.reps_url_base)
page_string = self.urlopen(url)
page = lxml.html.fromstring(page_string)
table = page.xpath('id("contentdata")/table[1]')[0]
table = page.xpath('//div[@class="lightened"]/table[1]')[0]
# Last tr has the date
trs = table.xpath('tr')[:-1]
for tr in trs:
Expand Down

0 comments on commit 716e76b

Please sign in to comment.