Skip to content

Commit

Permalink
Merge pull request #29 from jonashaag/patch-2
Browse files Browse the repository at this point in the history
Fix bug
  • Loading branch information
ask authored Aug 14, 2019
2 parents 8e0dcbe + f1fd165 commit 145e1d9
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 @@ -142,7 +142,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 145e1d9

Please sign in to comment.