Skip to content

Commit 7fa9575

Browse files
flake8 fixes #nolog
1 parent 38cc39f commit 7fa9575

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

engineio/async_drivers/asgi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ async def lifespan(self, receive, send):
8787
try:
8888
await self.on_startup() \
8989
if asyncio.iscoroutinefunction(self.on_startup) else \
90-
self.on_startup()
90+
self.on_startup()
9191
except:
9292
await send({'type': 'lifespan.startup.failed'})
9393
return
@@ -97,7 +97,7 @@ async def lifespan(self, receive, send):
9797
try:
9898
await self.on_shutdown() \
9999
if asyncio.iscoroutinefunction(self.on_shutdown) \
100-
else self.on_shutdown()
100+
else self.on_shutdown()
101101
except:
102102
await send({'type': 'lifespan.shutdown.failed'})
103103
return

0 commit comments

Comments
 (0)