Skip to content

Commit 98aeaf8

Browse files
committed
Fix Paver build - upgrade Leaflet and its CDN - Flake8 trap..
1 parent 30b761d commit 98aeaf8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pavement.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ def setup():
123123

124124
# install leafletjs to static/lib
125125
info('Getting leaflet')
126-
leafletjs = 'https://leafletjs-cdn.s3.amazonaws.com/content/leaflet/v1.9.4/leaflet.zip'
126+
leaflet_cdn_url = 'https://leafletjs-cdn.s3.amazonaws.com/content/leaflet'
127+
leafletjs = '{}/v1.9.4/leaflet.zip'.format(leaflet_cdn_url)
127128

128129
zipstr = BytesIO(urlopen(leafletjs).read())
129130
zipfile_obj = zipfile.ZipFile(zipstr)

0 commit comments

Comments
 (0)