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 3dc1fda commit 6b0da9eCopy full SHA for 6b0da9e
folium/plugins/terminator.py
@@ -10,7 +10,7 @@
10
# As LO.Terminator.js is not served on both HTTP and HTTPS, we need to embed it explicitely into the code.
11
_request = _urlopen("http://rawi.8713187.xyz/joergdietrich/Leaflet.Terminator/master/L.Terminator.js")
12
assert _request.getcode()==200, "Error while loading Leaflet.terminator.js"
13
-_terminator_script = _request.read()
+_terminator_script = _request.read().decode('utf8')
14
15
class Terminator(Plugin):
16
"""Leaflet.Terminator is a simple plug-in to the Leaflet library to overlay day and night regions on maps."""
0 commit comments