Commits

pje  committed ff0224a

On Py3, instancemethod only takes 2 arguments.

  • Participants
  • Parent commits 11bf76c

Comments (0)

Files changed (1)

File wsgi_lite.py

         if args and type(args[0]) is not dict:
             self = args[0]
             args = args[1:]                
-            return wrapper(instancemethod(app, self, type(self)), *args)
+            return wrapper(instancemethod(app, self), *args)
         return wrapper(app, *args)
     
     if isinstance(app, function):