From 0c965a54861e779ca51b235e7a3c2475d8a84dfb Mon Sep 17 00:00:00 2001 From: Pepper Date: Fri, 9 Oct 2015 02:42:18 -0400 Subject: fixed something in gradient --- lib/param/color.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/param/color.py') diff --git a/lib/param/color.py b/lib/param/color.py index 02d694d..829a8f4 100644 --- a/lib/param/color.py +++ b/lib/param/color.py @@ -15,6 +15,8 @@ class Color(Param): except Exception as e: self.err_warn("Unable to sanitize the color: %s" % str(value)) self.err_warn(str(e)) + + def _color_sanitize(self, s): if s == "": return "transparent" -- cgit v1.2.3-70-g09d2