Skip to content

Commit e12f8f0

Browse files
authored
Remove loop parameter
Seems that newer versions of aiohttp do not use `loop` anymore, similar to new Python versions.
1 parent 711af3f commit e12f8f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,4 +133,4 @@ async def shutdown(app):
133133
app.add_routes([web.post('/call/{requestType}', call_request_callback), web.post('/emit/{requestType}', emit_request_callback)])
134134
app.on_cleanup.append(shutdown)
135135

136-
web.run_app(app, host=httpAddress, port=httpPort, loop=loop)
136+
web.run_app(app, host=httpAddress, port=httpPort)

0 commit comments

Comments
 (0)