diff --git a/plugin/saucenao/searcher.go b/plugin/saucenao/searcher.go index 6ba350d3..d231b202 100644 --- a/plugin/saucenao/searcher.go +++ b/plugin/saucenao/searcher.go @@ -130,7 +130,7 @@ func init() { // 插件主体 }) resp, err := http.Head(result.Header.Thumbnail) msg := make(message.Message, 0, 3) - if s > 0.8 { + if s > 80.0 { msg = append(msg, message.Text("我有把握是这个!")) } else { msg = append(msg, message.Text("也许是这个?")) @@ -142,7 +142,7 @@ func init() { // 插件主体 } msg = append(msg, message.Text("\n图源: ", result.Header.IndexName, binary.BytesToString(b))) ctx.Send(msg) - if s > 0.8 { + if s > 80.0 { continue } }