Remove extra parameter. Fixes #165
This commit is contained in:
parent
982a20beb0
commit
5baab99957
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user