Skip to content

Commit 8bc6d29

Browse files
committed
fix: reorder logger initialization in base.py
1 parent 1cd62f1 commit 8bc6d29

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

astrbot/core/star/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
from typing import Any, Protocol
55

66
from astrbot.core import html_renderer
7-
8-
logger = logging.getLogger("astrbot")
97
from astrbot.core.utils.command_parser import CommandParserMixin
108
from astrbot.core.utils.plugin_kv_store import PluginKVStoreMixin
119

1210
from .star import StarMetadata, star_map, star_registry
1311

12+
logger = logging.getLogger("astrbot")
13+
1414

1515
class Star(CommandParserMixin, PluginKVStoreMixin):
1616
"""所有插件(Star)的父类,所有插件都应该继承于这个类"""

0 commit comments

Comments
 (0)