Skip to content

Commit c24de24

Browse files
committed
chore: ruff format
1 parent b54b4c7 commit c24de24

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

astrbot/core/platform/sources/telegram/tg_adapter.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import asyncio
2+
import os
23
import re
34
import sys
45
import uuid
5-
import os
66

77
from apscheduler.schedulers.asyncio import AsyncIOScheduler
88
from telegram import BotCommand, Update
@@ -22,13 +22,13 @@
2222
register_platform_adapter,
2323
)
2424
from astrbot.core.platform.astr_message_event import MessageSesion
25-
from astrbot.core.utils.astrbot_path import get_astrbot_temp_path
26-
from astrbot.core.utils.media_utils import convert_audio_to_wav
2725
from astrbot.core.star.filter.command import CommandFilter
2826
from astrbot.core.star.filter.command_group import CommandGroupFilter
2927
from astrbot.core.star.star import star_map
3028
from astrbot.core.star.star_handler import star_handlers_registry
31-
from astrbot.core.utils.io import download_file, download_image_by_url, file_to_base64
29+
from astrbot.core.utils.astrbot_path import get_astrbot_temp_path
30+
from astrbot.core.utils.io import download_image_by_url
31+
from astrbot.core.utils.media_utils import convert_audio_to_wav
3232

3333
from .tg_event import TelegramPlatformEvent
3434

0 commit comments

Comments
 (0)