Commit e7004c6e authored by Alex Kerney's avatar Alex Kerney

Remove two prints from widgets

parent a429ded4
...@@ -36,7 +36,6 @@ class LeafletWidget(TextArea): ...@@ -36,7 +36,6 @@ class LeafletWidget(TextArea):
kwargs.setdefault('data-geometry-type', gtype) kwargs.setdefault('data-geometry-type', gtype)
# set optional values from constructor # set optional values from constructor
print kwargs
if not kwargs.has_key("data-width"): if not kwargs.has_key("data-width"):
kwargs["data-width"] = self.width kwargs["data-width"] = self.width
if not kwargs.has_key("data-height"): if not kwargs.has_key("data-height"):
...@@ -68,5 +67,4 @@ class LeafletWidget(TextArea): ...@@ -68,5 +67,4 @@ class LeafletWidget(TextArea):
kwargs["data-max-bounds-ne-lat"] = maxx kwargs["data-max-bounds-ne-lat"] = maxx
kwargs["data-max-bounds-ne-lng"] = maxy kwargs["data-max-bounds-ne-lng"] = maxy
print kwargs
return super(LeafletWidget, self).__call__(field, **kwargs) return super(LeafletWidget, self).__call__(field, **kwargs)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment