Skip to content

Commit

Permalink
Merge branch 'main' of github.com:fbradyirl/webex_bot into reconnects…
Browse files Browse the repository at this point in the history
…Update
  • Loading branch information
fbradyirl committed Apr 24, 2024
2 parents bd3690a + 096ba8f commit 95f29fa
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions webex_bot/websockets/webex_websocket_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,14 @@ def _get_device_info(self, check_existing=True):
logger.debug(f"self.device_info: {self.device_info}")
return resp


def stop(self):
def terminate():
raise SystemExit()

asyncio.get_event_loop().create_task(terminate())


def run(self):
if self.device_info is None:
if self._get_device_info() is None:
Expand Down

0 comments on commit 95f29fa

Please sign in to comment.