changeset 69:80c97a6e53d2

Fix mutator bugs.
author Simon Cross <hodgestar@gmail.com>
date Sun, 11 Sep 2011 17:42:22 +0200
parents b88d5cd79fa7
children ff6fd5433d95
files mamba/mutators.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mamba/mutators.py	Sun Sep 11 17:40:22 2011 +0200
+++ b/mamba/mutators.py	Sun Sep 11 17:42:22 2011 +0200
@@ -7,10 +7,10 @@
 
     def __init__(self, func, *args):
         self._func = func
-        sefl._args = args
+        self._args = args
 
     def __call__(self, image):
-        return func(image, *args)
+        return self._func(image, *self._args)
 
     def __hash__(self):
         return hash((id(self._func), self._args))