From 21b2e256c344659e2294bee33a68b5cb040b9234 Mon Sep 17 00:00:00 2001 From: Pepper Date: Sat, 7 Mar 2015 18:38:28 -0500 Subject: missing commit --- Pb_Api/ImPattern/__init__.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'Pb_Api/ImPattern/__init__.py') diff --git a/Pb_Api/ImPattern/__init__.py b/Pb_Api/ImPattern/__init__.py index 1c25913..ed2cc69 100755 --- a/Pb_Api/ImPattern/__init__.py +++ b/Pb_Api/ImPattern/__init__.py @@ -1,11 +1,13 @@ #!/usr/bin/python2.7 from Pb_Api import Pb_Api -from Pb_Api.ImPattern.Params import ImPattern_Params - -IMPATTERN_URL = "http://asdf.us/im/api/impattern" +from Pb_Api.ImPattern.Params import ImGrid_params +from config import IMGRID_URL class Pb_Api_ImPattern(Pb_Api): def __init__(self): - self.url = IMPATTERN_URL - def params(self): - return ImPattern_Params() + self.url = IMGRID_URL + def request_new(self): + new_params = ImGrid_Params() + #new_params = self.get_from_server() + new_params.api = self + return new_params -- cgit v1.2.3-70-g09d2