From 1c72853d2bf37da9c9ce08419db93d8845076547 Mon Sep 17 00:00:00 2001 From: Brian Savelkouls Date: Sat, 23 Mar 2024 23:29:42 +0000 Subject: [PATCH] py3.12 --- aal/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/aal/__init__.py b/aal/__init__.py index 0b561b24..0c0e9860 100644 --- a/aal/__init__.py +++ b/aal/__init__.py @@ -13,7 +13,10 @@ import gevent as gvt import json as jsn import bottle as btl -import bottle.ext.websocket as wbs +try: + import bottle_websocket as wbs +except ImportError: + import bottle.ext.websocket as wbs import re as rgx import os import paling.browsers as brw