Skip to content

Commit

Permalink
Added Libertarian party to list of recognized parties.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Lo committed Aug 30, 2016
1 parent 191d7c0 commit 418950e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion openstates/nh/legislators.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ class NHLegislatorScraper(LegislatorScraper, LXMLMixin):

chamber_map = {'H': 'lower', 'S': 'upper'}
inverse_chamber_map = {v: k for k, v in chamber_map.items()}
party_map = {'D': 'Democratic', 'R': 'Republican', 'I': 'Independent'}
party_map = {
'D': 'Democratic',
'R': 'Republican',
'I': 'Independent',
'L': 'Libertarian',
}

def _get_photo(self, url, chamber):
"""Attempts to find a portrait in the given legislator profile."""
Expand Down

0 comments on commit 418950e

Please sign in to comment.