mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-acgnshow.git
synced 2025-09-06 12:16:25 +00:00
格式化代码,细节优化,修复了图片边框不完整的问题
This commit is contained in:
@ -1,11 +1,14 @@
|
||||
from pathlib import Path
|
||||
from pydantic import BaseModel
|
||||
from nonebot import get_plugin_config
|
||||
|
||||
RES_PATH = Path(__file__).parent / "res"
|
||||
TEMPLATE_NAME = "template.html"
|
||||
BGIMAGE_PATH = RES_PATH / "bgimage"
|
||||
|
||||
|
||||
class ConfigModel(BaseModel):
|
||||
acgnshow_pagesize: int = 8
|
||||
|
||||
config: ConfigModel = get_plugin_config(ConfigModel)
|
||||
|
||||
config: ConfigModel = get_plugin_config(ConfigModel)
|
||||
|
Reference in New Issue
Block a user