mirror of https://github.com/Mai-with-u/MaiBot.git
Update config.py
parent
e0a148cb57
commit
e2205eb78b
|
|
@ -27,7 +27,10 @@ logger = get_module_logger("config", config=config_config)
|
|||
#考虑到,实际上配置文件中的mai_version是不会自动更新的,所以采用硬编码
|
||||
mai_version_main = "0.6.0"
|
||||
mai_version_fix = ""
|
||||
mai_version = f"{mai_version_main}-{mai_version_fix}"
|
||||
if mai_version_fix:
|
||||
mai_version = f"{mai_version_main}-{mai_version_fix}"
|
||||
else:
|
||||
mai_version = mai_version_main
|
||||
|
||||
def update_config():
|
||||
# 获取根目录路径
|
||||
|
|
|
|||
Loading…
Reference in New Issue