Skip to content

Commit a66c385

Browse files
committed
fix: deadlock when docker is not available
1 parent a5ae833 commit a66c385

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/python_interpreter/main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@ async def initialize(self):
129129
logger.info(
130130
"Docker 不可用,代码解释器将无法使用,astrbot-python-interpreter 将自动禁用。"
131131
)
132-
await self.context._star_manager.turn_off_plugin(
133-
"astrbot-python-interpreter"
134-
)
132+
# await self.context._star_manager.turn_off_plugin(
133+
# "astrbot-python-interpreter"
134+
# )
135135

136136
async def file_upload(self, file_path: str):
137137
"""

0 commit comments

Comments
 (0)