diff options
| author | yo mama <pepper@scannerjammer.com> | 2015-03-11 02:51:58 -0700 |
|---|---|---|
| committer | yo mama <pepper@scannerjammer.com> | 2015-03-11 02:51:58 -0700 |
| commit | a5123bfab06f7fd8884b9b4f12f579dceec43aa1 (patch) | |
| tree | 5120729cadf48ce97caeb90c34b850308c9a9f21 /Pb_Api/ImGrid/__init__.py | |
| parent | d9651ca5fb6c655afbe88a014c8bb8a8f000a70d (diff) | |
finished OOP rewriteOOP
Diffstat (limited to 'Pb_Api/ImGrid/__init__.py')
| -rw-r--r-- | Pb_Api/ImGrid/__init__.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Pb_Api/ImGrid/__init__.py b/Pb_Api/ImGrid/__init__.py index 0c238b9..553c04c 100644 --- a/Pb_Api/ImGrid/__init__.py +++ b/Pb_Api/ImGrid/__init__.py @@ -1,13 +1,13 @@ #!/usr/bin/python2.7 from Pb_Api import Pb_Api from Pb_Api.ImGrid.Params import ImGrid_Params -from config import IMPATTERN_URL +from config import IMGRID_URL -class Pb_Api_ImPattern(Pb_Api): +class Pb_Api_ImGrid(Pb_Api): def __init__(self): - self.url = IMPATTERN_URL - def request_new(self): - new_params = ImPattern_Params() + self.url = IMGRID_URL + def params_init(self): + new_params = ImGrid_Params() #new_params = self.get_from_server() new_params.api = self return new_params |
