Remove extra parameter. Fixes #165

This commit is contained in:
Tulir Asokan 2022-04-26 23:44:52 +03:00
parent 982a20beb0
commit 5baab99957

View File

@ -38,7 +38,7 @@ def logs(server: str, tail: int) -> None:
global history_count global history_count
history_count = tail history_count = tail
loop = asyncio.get_event_loop() loop = asyncio.get_event_loop()
future = asyncio.create_task(view_logs(server, token), loop=loop) future = asyncio.create_task(view_logs(server, token))
try: try:
loop.run_until_complete(future) loop.run_until_complete(future)
except KeyboardInterrupt: except KeyboardInterrupt: