summaryrefslogtreecommitdiff
path: root/ricky/imgradient/imgradient.py
diff options
context:
space:
mode:
authorpepperpepperpepper <pepper@scannerjammer.com>2015-10-08 21:15:47 -0700
committerpepperpepperpepper <pepper@scannerjammer.com>2015-10-08 21:15:47 -0700
commitb4fdde9e35bb1fdaf2d88e07b2fa00dce80d6cf6 (patch)
tree27fefddb5b691a71a6759473c4d04b1979dfcc20 /ricky/imgradient/imgradient.py
parent65915957b1e99e979f298cdba5d30284c1b3df0f (diff)
fixing like crazy
Diffstat (limited to 'ricky/imgradient/imgradient.py')
-rw-r--r--ricky/imgradient/imgradient.py8
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