diff --git a/maubot/cli/commands/logs.py b/maubot/cli/commands/logs.py index 9a9c644..914f776 100644 --- a/maubot/cli/commands/logs.py +++ b/maubot/cli/commands/logs.py @@ -38,7 +38,7 @@ def logs(server: str, tail: int) -> None: global history_count history_count = tail loop = asyncio.get_event_loop() - future = asyncio.create_task(view_logs(server, token), loop=loop) + future = asyncio.create_task(view_logs(server, token)) try: loop.run_until_complete(future) except KeyboardInterrupt: