Merge remote-tracking branch 'origin/main'

# Conflicts:
#	packages/nonebot-plugin-nailongremove-base/nonebot_plugin_nailongremove/__init__.py
This commit is contained in:
Refound-445 2025-01-31 19:28:07 +08:00
commit f21818e7dd

View File

@ -23,7 +23,14 @@ from nonebot_plugin_alconna.builtins.uniseg.market_face import MarketFace
from nonebot_plugin_alconna.uniseg import Image, Segment, UniMessage
from nonebot_plugin_alconna.uniseg.tools import image_fetch
from PIL import Image as Img, ImageSequence
import ssl
SSL_CONTEXT = ssl.create_default_context()
SSL_CONTEXT.set_ciphers('DEFAULT')
SSL_CONTEXT.options |= ssl.OP_NO_SSLv2
SSL_CONTEXT.options |= ssl.OP_NO_SSLv3
SSL_CONTEXT.options |= ssl.OP_NO_TLSv1
SSL_CONTEXT.options |= ssl.OP_NO_TLSv1_1
SSL_CONTEXT.options |= ssl.OP_NO_COMPRESSION
T = TypeVar("T")
class FrameSource(ABC, Generic[T]):