diff options
| author | pepperpepperpepper <pepper@scannerjammer.com> | 2015-11-29 17:44:05 -0800 |
|---|---|---|
| committer | pepperpepperpepper <pepper@scannerjammer.com> | 2015-11-29 17:44:05 -0800 |
| commit | f3cfd54c876ba3e7540443c2f442d2baa22acef8 (patch) | |
| tree | 583c088e6f183232ddb21bd86f68c9e7b53ccccf /ricky/impattern/__init__.py | |
| parent | 9a7bf3bffb2a8459e66b988aaff53611723b5ab4 (diff) | |
switched to json probabilities
Diffstat (limited to 'ricky/impattern/__init__.py')
| -rwxr-xr-x | ricky/impattern/__init__.py | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/ricky/impattern/__init__.py b/ricky/impattern/__init__.py index 63a540e..577623e 100755 --- a/ricky/impattern/__init__.py +++ b/ricky/impattern/__init__.py @@ -1 +1,12 @@ -from impattern import ImPattern +from ricky.im import Im +from ricky.impattern.params import ImPatternParams +from ricky.config import IMPATTERN_URL + +class ImPattern(Im): + def __init__(self): + self.url = IMPATTERN_URL + def params_init(self): + new_params = ImPatternParams() + #new_params = self.get_from_server() + new_params.api = self + return new_params |
