@ -70,7 +70,10 @@ func innerLoadDB(db *stardb.StarDB, callback func(task Task)) (*Remind, error) {
for _, task := range res {
itask := new(Task)
*itask = task
tmr := startimer.NewTimer(time.Now())
tmr, err := startimer.NewTimer(time.Now())
if err != nil {
return nil, err
}
err = tmr.ImportRepeats(itask.TmrInfo)