mirror of https://github.com/Mai-with-u/MaiBot.git
fix: 调整全局logger加载顺序
parent
8baef07720
commit
31a5514a0f
3
bot.py
3
bot.py
|
|
@ -145,10 +145,11 @@ if __name__ == "__main__":
|
||||||
time.tzset()
|
time.tzset()
|
||||||
|
|
||||||
easter_egg()
|
easter_egg()
|
||||||
|
load_logger()
|
||||||
init_config()
|
init_config()
|
||||||
init_env()
|
init_env()
|
||||||
load_env()
|
load_env()
|
||||||
load_logger()
|
|
||||||
|
|
||||||
env_config = {key: os.getenv(key) for key in os.environ}
|
env_config = {key: os.getenv(key) for key in os.environ}
|
||||||
scan_provider(env_config)
|
scan_provider(env_config)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue