diff options
| author | yo mama <pepper@scannerjammer.com> | 2015-09-19 16:13:31 -0700 |
|---|---|---|
| committer | yo mama <pepper@scannerjammer.com> | 2015-09-19 16:13:31 -0700 |
| commit | 8f2230b7c866320e3839d6812b98b8370a7ec5d9 (patch) | |
| tree | d3a9b450c42c39b20a1f13dcdf826c64b140b42e /Param/Color | |
| parent | 1d1889c9d909313499948d329f1b7826a51ed83c (diff) | |
ok all modules working
Diffstat (limited to 'Param/Color')
| -rw-r--r-- | Param/Color/__init__.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Param/Color/__init__.py b/Param/Color/__init__.py index ea7895c..9163338 100644 --- a/Param/Color/__init__.py +++ b/Param/Color/__init__.py @@ -1,9 +1,8 @@ from Param import Param - -def ParamColor(Param): +import re +class ParamColor(Param): def __init__(self, value, classname=""): - self._classname = classname - super(ParamColor).__init__() + super(ParamColor, self).__init__(classname=classname) try: self.value = self._color_sanitize(value) except Exception as e: |
