Skip to content

Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.

Fixed python3 compatiability and wrong variable in string format (#587)

itamar-otonomoffffff849c5d
diff --git a/bindings/kepler.gl-jupyter/keplergl/keplergl.py b/bindings/kepler.gl-jupyter/keplergl/keplergl.py
index d0fc7284e..267e51321 100644
--- a/bindings/kepler.gl-jupyter/keplergl/keplergl.py
+++ b/bindings/kepler.gl-jupyter/keplergl/keplergl.py
@@ -107,7 +107,7 @@ class KeplerGl(widgets.DOMWidget):
'''
if type(proposal.value) is not dict:
- raise DataException('[data type error]: Expecting a dictionary mapping from id to value, but got {}'.format(type(data)))
+ raise DataException('[data type error]: Expecting a dictionary mapping from id to value, but got {}'.format(type(proposal.value)))
else:
for key, value in proposal.value.items():