Skip to content

Commit

Permalink
Merge pull request #287 from jmcarp/drop-tamu-check
Browse files Browse the repository at this point in the history
Allow tamu requests without zip code.
  • Loading branch information
DenisCarriere committed Sep 5, 2017
2 parents 31514f3 + 108be15 commit 8529836
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions geocoder/tamu.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ def __init__(self, location, censusYears=('1990', '2000', '2010'), **kwargs):
city = kwargs.get('city', '')
state = kwargs.get('state', '')
zipcode = kwargs.get('zipcode', '')
if not bool(city and state and zipcode):
raise ValueError("Provide city, state and zipcode")

self.location = location
self.key = self._get_api_key(tamu_key, **kwargs)
Expand Down

0 comments on commit 8529836

Please sign in to comment.