From a5123bfab06f7fd8884b9b4f12f579dceec43aa1 Mon Sep 17 00:00:00 2001 From: yo mama Date: Wed, 11 Mar 2015 02:51:58 -0700 Subject: finished OOP rewrite --- Pb_Api/ImPattern/__init__.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Pb_Api/ImPattern/__init__.py') diff --git a/Pb_Api/ImPattern/__init__.py b/Pb_Api/ImPattern/__init__.py index ed2cc69..b81af58 100755 --- a/Pb_Api/ImPattern/__init__.py +++ b/Pb_Api/ImPattern/__init__.py @@ -1,13 +1,13 @@ #!/usr/bin/python2.7 from Pb_Api import Pb_Api -from Pb_Api.ImPattern.Params import ImGrid_params -from config import IMGRID_URL +from Pb_Api.ImPattern.Params import ImPattern_Params +from config import IMPATTERN_URL class Pb_Api_ImPattern(Pb_Api): def __init__(self): - self.url = IMGRID_URL - def request_new(self): - new_params = ImGrid_Params() + self.url = IMPATTERN_URL + def params_init(self): + new_params = ImPattern_Params() #new_params = self.get_from_server() new_params.api = self return new_params -- cgit v1.2.3-70-g09d2