Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
wolph committed Apr 12, 2019
2 parents 5b7fd56 + c54a2ea commit f171b87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -2,6 +2,7 @@ sudo: false
cache: pip
language: python
python: 3.6
dist: xenial

env:
- TOX_ENV=pypy-django11
Expand Down
2 changes: 1 addition & 1 deletion django_statsd/middleware.py
Expand Up @@ -125,7 +125,7 @@ def __call__(self, key):
class StatsdMiddleware(deprecation.MiddlewareMixin):
scope = threading.local()

def __init__(self, get_response):
def __init__(self, get_response=None):
deprecation.MiddlewareMixin.__init__(self, get_response)
self.scope.timings = None
self.scope.counter = None
Expand Down

0 comments on commit f171b87

Please sign in to comment.