Skip to content

Commit

Permalink
Merge pull request #121 from yzyyz1387/main-check
Browse files Browse the repository at this point in the history
fix #120
  • Loading branch information
yzyyz1387 authored May 14, 2024
2 parents b2358c2 + 3a24bb3 commit f7a1367
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions nonebot_plugin_admin/config.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# from typing import Optional
from nonebot import get_driver
from pydantic import BaseModel, Extra

from nonebot import get_plugin_config

class Config(BaseModel, extra=Extra.ignore):
tenid: str = 'xxxxxx' # 腾讯云图片安全,开通地址: https://console.cloud.tencent.com/cms
Expand All @@ -13,5 +13,6 @@ class Config(BaseModel, extra=Extra.ignore):

driver = get_driver()
global_config = driver.config
plugin_config = Config.parse_obj(global_config)
# plugin_config = Config.parse_obj(global_config)
plugin_config = get_plugin_config(Config)

6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
fuzzyfinder
httpx
jieba
nonebot-adapter-onebot>=2.0.0-beta.1
nonebot2>=2.0.0-beta.4
nonebot-adapter-onebot>=2.0.0
nonebot2>=2.2.0
tencentcloud-sdk-python>=3.0.580
setuptools
jinja2
pyppeteer
imageio
numpy
nonebot_plugin_apscheduler
nb-cli
nb-cli
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setuptools.setup(
name="nonebot-plugin-admin",
version="0.4.5.4",
version="0.4.5.5",
author="yzyyz1387",
author_email="youzyyz1384@qq.com",
keywords=("pip", "nonebot2", "nonebot", "admin", "nonebot_plugin"),
Expand Down

0 comments on commit f7a1367

Please sign in to comment.