Added missing self in CSRF-Resource ctor

This commit is contained in:
Sebastian Lohff 2012-05-26 18:47:12 +02:00
parent b98648db19
commit d04135c74c
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ class CsrfExemptResource(Resource):
"""
def __init__(self, handler, authentication = None):
Resource.__init__(handler, authentication)
Resource.__init__(self, handler, authentication)
self.csrf_exempt = getattr(self.handler, 'csrf_exempt', True)
# build authenticatiooors