Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
nickw444 committed Dec 24, 2018
1 parent c401834 commit 09115ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nessclient/cli/events.py
Expand Up @@ -30,5 +30,5 @@ def on_event_received(event: BaseEvent):
client.update(),
))

client.close()
loop.run_until_complete(client.close())
loop.close()
2 changes: 1 addition & 1 deletion nessclient/cli/send_command.py
Expand Up @@ -14,5 +14,5 @@ def send_command(host: str, port: int, command: str):
client = Client(host=host, port=port, loop=loop)

loop.run_until_complete(client.send_command(command))
client.close()
loop.run_until_complete(client.close())
loop.close()

0 comments on commit 09115ac

Please sign in to comment.