summaryrefslogtreecommitdiff
path: root/ricky/imgrid/__init__.py
diff options
context:
space:
mode:
authorpepperpepperpepper <pepper@scannerjammer.com>2015-11-29 17:43:44 -0800
committerpepperpepperpepper <pepper@scannerjammer.com>2015-11-29 17:43:44 -0800
commit9a7bf3bffb2a8459e66b988aaff53611723b5ab4 (patch)
treecc4ef0de15e22f5c6e5f8d2ecf16db0486d7a8ff /ricky/imgrid/__init__.py
parent10a619b2c7227b2ad214fbb985141b884fbe87fb (diff)
required=0, -e commit message for your changes. Lines starting
Diffstat (limited to 'ricky/imgrid/__init__.py')
-rw-r--r--ricky/imgrid/__init__.py13
1 files changed, 12 insertions, 1 deletions
diff --git a/ricky/imgrid/__init__.py b/ricky/imgrid/__init__.py
index 1ff6788..3b0b128 100644
--- a/ricky/imgrid/__init__.py
+++ b/ricky/imgrid/__init__.py
@@ -1 +1,12 @@
-from imgrid import ImGrid
+from ricky.im import Im
+from ricky.imgrid.params import ImGridParams
+from ricky.config import IMGRID_URL
+
+class ImGrid(Im):
+ def __init__(self):
+ self.url = IMGRID_URL
+ def params_init(self):
+ new_params = ImGridParams()
+ #new_params = self.get_from_server()
+ new_params.api = self
+ return new_params