From b4fdde9e35bb1fdaf2d88e07b2fa00dce80d6cf6 Mon Sep 17 00:00:00 2001 From: pepperpepperpepper Date: Thu, 8 Oct 2015 21:15:47 -0700 Subject: fixing like crazy --- ricky/imgradient/imgradient.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'ricky/imgradient/imgradient.py') 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 -- cgit v1.2.3-70-g09d2