diff options
| author | Pepper <pepper@scannerjammer.com> | 2015-03-07 18:38:28 -0500 |
|---|---|---|
| committer | Pepper <pepper@scannerjammer.com> | 2015-03-07 18:38:28 -0500 |
| commit | 21b2e256c344659e2294bee33a68b5cb040b9234 (patch) | |
| tree | 04d40d88ae9faab20ae671af6396eec0ee668981 /Pb_Api/ImPattern/__init__.py | |
| parent | 107b40de0a2a7bcb6abcebb9aabd0f5bb7dabb4b (diff) | |
missing commit
Diffstat (limited to 'Pb_Api/ImPattern/__init__.py')
| -rwxr-xr-x | Pb_Api/ImPattern/__init__.py | 14 |
1 files changed, 8 insertions, 6 deletions
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 |
