Skip to content

Commit

Permalink
Fix flake8 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rmarianski committed Oct 26, 2017
1 parent e04415e commit 0f07437
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mapbox_vector_tile/encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,10 @@ def _load_geometry(self, geometry_spec):

try:
return load_wkb(geometry_spec)
except:
except Exception:
try:
return load_wkt(geometry_spec)
except:
except Exception:
return None

def addFeature(self, feature, shape, y_coord_down):
Expand Down

0 comments on commit 0f07437

Please sign in to comment.