Skip to content

Commit 29a9497

Browse files
fullonicConengmo
authored andcommitted
Remove extra ( " ) on Draw plugin template (#1120)
Fixed JS "SyntaxError.." produced by an extra (") on Draw plugin template.
1 parent 913cf29 commit 29a9497

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

folium/plugins/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@
5959
'TimeSliderChoropleth',
6060
'TimestampedGeoJson',
6161
'TimestampedWmsTileLayers',
62-
]
62+
]

folium/plugins/draw.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class Draw(MacroElement):
7676
'href', 'data:' + convertedData
7777
);
7878
document.getElementById('export').setAttribute(
79-
'download', {{ this.filename|tojson }}"
79+
'download', {{ this.filename|tojson }}
8080
);
8181
}
8282
{% endmacro %}

0 commit comments

Comments
 (0)