diff --git a/LittlePaimon/utils/tool.py b/LittlePaimon/utils/tool.py
index ba3ed0c..246e158 100644
--- a/LittlePaimon/utils/tool.py
+++ b/LittlePaimon/utils/tool.py
@@ -97,7 +97,7 @@ async def check_resource():
save_path=file_path)
await asyncio.sleep(0.5)
except Exception as e:
- logger.warning('资源检查', f'下载{resource.split("/")[-1]}时出错: {e}')
+ logger.warning('资源检查', f'下载{resource["path"].split("/")[-1]}时出错: {e}')
if flag:
logger.info('资源检查', '资源下载完成')
else:
diff --git a/LittlePaimon/web/pages/home_page.py b/LittlePaimon/web/pages/home_page.py
index c2b71b1..9ca2fe9 100644
--- a/LittlePaimon/web/pages/home_page.py
+++ b/LittlePaimon/web/pages/home_page.py
@@ -27,6 +27,7 @@ operation_button = Flex(justify='center', items=[
),
ActionType.Ajax(
label='重启',
+ className='m-l',
api='/LittlePaimon/api/bot_restart',
confirmText='该操作将会使Bot重启,在完成重启之前,该页面也将无法访问(也可能会弹出报错,可无视),请耐心等待重启',
level=LevelEnum.danger