update code

master
兔子 1 year ago
parent 565bcca4f0
commit af71724029

@ -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)
if err != nil {
return nil, err

Loading…
Cancel
Save