mirror of https://github.com/Mai-with-u/MaiBot.git
Update config.py
parent
7bbe7c3d61
commit
225fbbe6ea
|
|
@ -25,9 +25,9 @@ config_config = LogConfig(
|
||||||
logger = get_module_logger("config", config=config_config)
|
logger = get_module_logger("config", config=config_config)
|
||||||
|
|
||||||
#考虑到,实际上配置文件中的mai_version是不会自动更新的,所以采用硬编码
|
#考虑到,实际上配置文件中的mai_version是不会自动更新的,所以采用硬编码
|
||||||
is_test = True
|
is_test = False
|
||||||
mai_version_main = "0.6.1"
|
mai_version_main = "0.6.1"
|
||||||
mai_version_fix = "snapshot-2"
|
mai_version_fix = ""
|
||||||
if mai_version_fix:
|
if mai_version_fix:
|
||||||
if is_test:
|
if is_test:
|
||||||
mai_version = f"test-{mai_version_main}-{mai_version_fix}"
|
mai_version = f"test-{mai_version_main}-{mai_version_fix}"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue