修复Runtime error
This commit is contained in:
parent
66f1204889
commit
40e683739e
|
@ -285,6 +285,7 @@ func (c *Core) RespondDaily(user *model.User, model string) {
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
if category != nil {
|
||||||
_ = category.WaitForElementState(`visible`)
|
_ = category.WaitForElementState(`visible`)
|
||||||
time.Sleep(1 * time.Second)
|
time.Sleep(1 * time.Second)
|
||||||
|
|
||||||
|
@ -425,6 +426,7 @@ func (c *Core) RespondDaily(user *model.User, model string) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
score, _ = GetUserScore(user.ToCookies())
|
score, _ = GetUserScore(user.ToCookies())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue