mirror of
https://github.com/Shu-Ying/main_plugin_farm.git
synced 2026-10-31 06:49:59 +08:00
add # 新增Nonebot发布工作流
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
"""兼容旧版 NoneBot localstore 存档位置。"""
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
def data_directory(base, configured=None):
|
||||
if configured is not None:
|
||||
return Path(configured)
|
||||
return Path(base) / "nonebot_plugin_farm" / "farm_db"
|
||||
Reference in New Issue
Block a user