Skip to content

Commit

Permalink
fix: don't return undefined variable
Browse files Browse the repository at this point in the history
  • Loading branch information
brycedrennan committed Dec 21, 2020
1 parent 3a6f217 commit f032975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aresponses/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ async def _find_response(self, request):
return route, response

self._unmatched_requests.append(request)
return route, None
return None, None

async def passthrough(self, request):
"""Make non-mocked network request"""
Expand Down

0 comments on commit f032975

Please sign in to comment.