diff --git a/const.py b/const.py index 9565136..cb66492 100644 --- a/const.py +++ b/const.py @@ -1 +1 @@ -VERSION = "1.0.8" +VERSION = "1.0.9" diff --git a/main.py b/main.py index ef6d186..4d43c1d 100644 --- a/main.py +++ b/main.py @@ -148,7 +148,7 @@ async def producer_webhook(config: Config, timeout: int = 30) -> None: while True: try: - if not app.state.websocket_client: + if not getattr(app.state, "websocket_client", None): websocket_client = WebsocketEvents( ari_config=config.ari_config, api_key=config.api_key,