mirror of
https://github.com/Refound-445/nonebot-plugin-nailongremove.git
synced 2025-09-27 02:49:17 +08:00
up
This commit is contained in:
parent
f21818e7dd
commit
607c6e889b
@ -23,14 +23,7 @@ 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]):
|
||||
|
Loading…
Reference in New Issue
Block a user