Skip to content

Commit

Permalink
Maybe fix bug?
Browse files Browse the repository at this point in the history
  • Loading branch information
jonashaag committed Oct 9, 2017
1 parent 6c99ac2 commit 15453b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thorn/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def dispatch(self, session=None, propagate=False):
self.validate_recipient(self.subscriber.url)
with self._finalize_unless_request_error(propagate):
self.response = self.post(session=session)
return self
return self

@contextmanager
def _finalize_unless_request_error(self, propagate=False):
Expand Down

0 comments on commit 15453b2

Please sign in to comment.