From 05d6de269b74b8bc90131a7c16c3d2892a293b35 Mon Sep 17 00:00:00 2001 From: Flowseal Date: Sat, 30 May 2026 19:39:58 +0300 Subject: [PATCH] import path fixes --- proxy/bridge.py | 2 +- proxy/tg_ws_proxy.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/proxy/bridge.py b/proxy/bridge.py index c302e34..70e71e8 100644 --- a/proxy/bridge.py +++ b/proxy/bridge.py @@ -2,7 +2,6 @@ import asyncio import logging import struct -from ._aes import Cipher, algorithms, modes from typing import List, Optional from urllib.parse import urlencode @@ -12,6 +11,7 @@ from .balancer import balancer from .config import proxy_config from .raw_websocket import RawWebSocket from .pool import cf_worker_pool +from ._aes import Cipher, algorithms, modes log = logging.getLogger('tg-mtproto-proxy') diff --git a/proxy/tg_ws_proxy.py b/proxy/tg_ws_proxy.py index 0fe8862..ea72a2e 100644 --- a/proxy/tg_ws_proxy.py +++ b/proxy/tg_ws_proxy.py @@ -13,7 +13,6 @@ import socket as _socket from typing import Dict, Optional, Set, Tuple -from ._aes import Cipher, algorithms, modes if __name__ == '__main__' and (__package__ is None or __package__ == ''): _repo_root = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) @@ -29,6 +28,7 @@ from .raw_websocket import RawWebSocket, WsHandshakeError, set_sock_opts from .fake_tls import proxy_to_masking_domain, verify_client_hello, build_server_hello, FakeTlsStream, TLS_RECORD_HANDSHAKE from .balancer import balancer from .pool import ws_pool, cf_worker_pool +from ._aes import Cipher, algorithms, modes log = logging.getLogger('tg-mtproto-proxy')