We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30b761d commit 98aeaf8Copy full SHA for 98aeaf8
pavement.py
@@ -123,7 +123,8 @@ def setup():
123
124
# install leafletjs to static/lib
125
info('Getting leaflet')
126
- leafletjs = 'https://leafletjs-cdn.s3.amazonaws.com/content/leaflet/v1.9.4/leaflet.zip'
+ leaflet_cdn_url = 'https://leafletjs-cdn.s3.amazonaws.com/content/leaflet'
127
+ leafletjs = '{}/v1.9.4/leaflet.zip'.format(leaflet_cdn_url)
128
129
zipstr = BytesIO(urlopen(leafletjs).read())
130
zipfile_obj = zipfile.ZipFile(zipstr)
0 commit comments