import path fixes

This commit is contained in:
Flowseal
2026-05-30 19:39:58 +03:00
parent 1c4b103df2
commit 05d6de269b
2 changed files with 2 additions and 2 deletions

View File

@@ -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')

View File

@@ -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')