Skip to content

Commit

Permalink
NM: Missing assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
paultag committed Nov 4, 2013
1 parent 13b0a0d commit de08efa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions openstates/nm/legislators.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ def scrape_legislator(self, chamber, term, url):
found = False
for value in values:
id_ = 'ctl00_mainCopy_formViewLegislator_%s' % value
val = None
try:
val = "\n".join(doc.get_element_by_id(id_).itertext())
found = True
Expand Down

0 comments on commit de08efa

Please sign in to comment.