From 70f8ddb1baa17fa43b8d0bc85f2a23144a32123c Mon Sep 17 00:00:00 2001 From: wangcham Date: Sun, 30 Mar 2025 22:56:51 -0400 Subject: [PATCH] fix: delete useless image function in slack --- pkg/utils/image.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/utils/image.py b/pkg/utils/image.py index 6e499340..8f395c35 100644 --- a/pkg/utils/image.py +++ b/pkg/utils/image.py @@ -215,10 +215,6 @@ async def extract_b64_and_format(image_base64_data: str) -> typing.Tuple[str, st return base64_str, image_format -async def get_slack_image_to_base64(pic_url:str,bot_token:str): - """ - 将Slack图片转换为base64 - """ async def get_slack_image_to_base64(pic_url:str, bot_token:str): headers = {"Authorization": f"Bearer {bot_token}"}