From e85b0885ac45e5773a2e9dfb2b91bc8a57de98e2 Mon Sep 17 00:00:00 2001 From: pepperpepperpepper Date: Sat, 5 Dec 2015 16:57:53 -0800 Subject: added normalization to params --- ricky/params.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ricky/params.py') diff --git a/ricky/params.py b/ricky/params.py index 3d5677b..c5595d4 100644 --- a/ricky/params.py +++ b/ricky/params.py @@ -7,7 +7,7 @@ class Params(object): self._api = None self._params = args - def param(self, name): + def __getitem__(self, name): """getter for the param by name""" for param in self._params: if param.name == name: -- cgit v1.2.3-70-g09d2