Permalink
Browse files

Fix typo in error handler

  • Loading branch information...
onyxfish committed Dec 11, 2011
1 parent 2ac7ae6 commit ab790f84d73568ef5ef5e2ec5040d26c5719d9ee
Showing with 1 addition and 1 deletion.
  1. +1 −1 googlegeocoder/__init__.py
@@ -43,7 +43,7 @@ def get(self, submission, sensor='false', bounding_box=None, region=None):
params['region'] = region
data = self._fetch_json(params)
if data["status"] != "OK":
- raise ValueError(json["status"])
+ raise ValueError(data["status"])
return [GeocoderResult(i) for i in data.get("results")]

0 comments on commit ab790f8

Please sign in to comment.