Skip to content

Commit

Permalink
Merge pull request #38 from jbwdevries/fix-asgi-lifespan-protocol-send
Browse files Browse the repository at this point in the history
Fix: Missing argument for handler in send
  • Loading branch information
gi0baro authored Jan 17, 2023
2 parents d6b3707 + f539a94 commit d574682
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion granian/asgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def _handle_shutdown_failed(self, message):

async def send(self, message):
handler = self._event_handlers[message["type"]]
handler(message)
handler(self, message)


def _noop_wrapper(proto):
Expand Down

0 comments on commit d574682

Please sign in to comment.