mirror of
https://github.com/django/daphne.git
synced 2026-01-05 15:59:01 +03:00
fix typo
This commit is contained in:
parent
fa811a6678
commit
b2a34766bc
|
|
@ -130,7 +130,7 @@ class Server:
|
|||
evloop = reactor._asyncioEventloop
|
||||
asyncio.set_event_loop(evloop)
|
||||
if self.lifespan_context is not None:
|
||||
evloop.run_until(self.lifespan_context.__aenter__())
|
||||
evloop.run_until_complete(self.lifespan_context.__aenter__())
|
||||
|
||||
# Kick off the timeout loop
|
||||
reactor.callLater(1, self.application_checker)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user