fix: avoid frozen restart crash from multiprocessing import

This commit is contained in:
邹永赫
2026-02-10 17:06:31 +09:00
parent ba884f7643
commit 10548645b0
2 changed files with 4 additions and 2 deletions

View File

@@ -1,3 +1,3 @@
from .core.log import LogManager
import logging
logger = LogManager.GetLogger(log_name="astrbot")
logger = logging.getLogger("astrbot")

View File

@@ -35,6 +35,8 @@ const args = [
'pip',
'--collect-submodules',
'astrbot.api',
'--hidden-import',
'_multiprocessing',
'--collect-data',
'certifi',
'--add-data',