Skip to content

Commit

Permalink
Update folium/map.py
Browse files Browse the repository at this point in the history
Co-authored-by: Frank Anema <33519926+Conengmo@users.noreply.github.com>
  • Loading branch information
hansthen and Conengmo authored Nov 17, 2024
1 parent a9374a7 commit 342f0a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion folium/map.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def on(self, **event_map: JsCode):
def once(self, **event_map: JsCode):
self._add(once=True, **event_map)

def _add(self, once, **event_map: JsCode):
def _add(self, once: bool, **event_map: JsCode):
for event_type, handler in event_map.items():
self.add_child(EventHandler(event_type, handler, once))

Expand Down

0 comments on commit 342f0a5

Please sign in to comment.