From 8f2230b7c866320e3839d6812b98b8370a7ec5d9 Mon Sep 17 00:00:00 2001 From: yo mama Date: Sat, 19 Sep 2015 16:13:31 -0700 Subject: ok all modules working --- Param/Json/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Param/Json/__init__.py') diff --git a/Param/Json/__init__.py b/Param/Json/__init__.py index 5e3bbc2..28a7126 100644 --- a/Param/Json/__init__.py +++ b/Param/Json/__init__.py @@ -1,8 +1,8 @@ from Param import Param import simplejson as json -def ParamJson(Param): +class ParamJson(Param): def __init__(self, value, classname=""): - self._classname = classname - super(ParamJson).__init__() + super(ParamJson, self).__init__(classname=classname) self.value = json.parse(value) + -- cgit v1.2.3-70-g09d2