修复了定时模式程序直接退出的bug

This commit is contained in:
johlanse 2022-05-04 09:52:04 +08:00
parent 8c2ca1f848
commit 9fe6b2cbec
1 changed files with 2 additions and 0 deletions

View File

@ -132,6 +132,8 @@ func main() {
if !config.TG.Enable && config.Cron == "" {
log.Infoln("已采用普通学习模式")
do()
} else {
select {}
}
}