mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
Fix depreaciation from python 3.10
This commit is contained in:
@@ -34,7 +34,7 @@ class Command(BaseCommand):
|
||||
"""Entry point."""
|
||||
loop = asyncio.get_event_loop()
|
||||
coro = asyncio.start_server(
|
||||
core.new_connection, options["host"], options["port"], loop=loop
|
||||
core.new_connection, options["host"], options["port"]
|
||||
)
|
||||
server = loop.run_until_complete(coro)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user