web/views/magicsearch.py
changeset 3462 3a79fecdd2b4
parent 3451 6b46d73823f5
child 3469 1e28876c4b55
--- a/web/views/magicsearch.py	Thu Sep 24 11:06:50 2009 +0200
+++ b/web/views/magicsearch.py	Thu Sep 24 20:25:49 2009 +0200
@@ -350,7 +350,7 @@
         self.by_name = {}
         for processorcls in self._cw.vreg['components']['magicsearch_processor']:
             # instantiation needed
-            processor = processorcls()
+            processor = processorcls(self._cw)
             processors.append(processor)
             if processor.name is not None:
                 assert not processor.name in self.by_name