diff options
Diffstat (limited to 'ricky/imgradient/imgradient.py')
| -rw-r--r-- | ricky/imgradient/imgradient.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ricky/imgradient/imgradient.py b/ricky/imgradient/imgradient.py index bc04615..1d8da3d 100644 --- a/ricky/imgradient/imgradient.py +++ b/ricky/imgradient/imgradient.py @@ -1,12 +1,16 @@ +"""class for the imgradient api handler""" from ricky.im import Im -from ricky.imgradient.params import ImGradientParams +from ricky.imgradient.params import Params from ricky.config import IMGRADIENT_URL + class ImGradient(Im): def __init__(self): + super(ImGradient, self).__init__() self.url = IMGRADIENT_URL + def params_init(self): - new_params = ImGradientParams() + new_params = Params() #new_params = self.get_from_server() new_params.api = self return new_params |
