selectors.py
changeset 2514 c745dfb2734e
parent 2381 caad2367d940
child 2613 5e19c2bb370e
--- a/selectors.py	Mon Jul 27 10:58:37 2009 +0200
+++ b/selectors.py	Mon Jul 27 09:51:54 2009 +0200
@@ -616,10 +616,10 @@
     @lltrace
     def __call__(self, cls, req, *args, **kwargs):
         try:
-            etype = req.form['etype']
+            etype = kwargs['etype']
         except KeyError:
             try:
-                etype = kwargs['etype']
+                etype = req.form['etype']
             except KeyError:
                 return 0
         else: