Skip to content

Commit c5c9dc4

Browse files
committed
Fixing stickler stuff
1 parent 5ec18b1 commit c5c9dc4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

folium/folium.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,9 @@ def choropleth(self, geo_path=None, geo_str=None, data_out='data.json',
252252

253253
# Create GeoJson object
254254
if geo_path:
255-
if geo_path.lower().startswith(('http','ftp','https')):
255+
if geo_path.lower().startswith(('http', 'ftp', 'https')):
256256
geo_data = requests.get(geo_path).json()
257-
else:
257+
else:
258258
geo_data = open(geo_path)
259259
elif geo_str:
260260
geo_data = geo_str

0 commit comments

Comments
 (0)