From fa973a9231b21c4a54884cc103e137656b373d3f Mon Sep 17 00:00:00 2001 From: fumiama Date: Thu, 27 Jan 2022 15:50:08 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20saucenao=20relative=20path?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin_saucenao/searcher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin_saucenao/searcher.go b/plugin_saucenao/searcher.go index 12f19cdd..9915c1bc 100644 --- a/plugin_saucenao/searcher.go +++ b/plugin_saucenao/searcher.go @@ -61,7 +61,7 @@ func init() { // 插件主体 logrus.Debugln("[sausenao]开始下载", n) filepath, err = illust.DownloadToCache(i, n) if err == nil { - f = filepath + f = file.BOTPATH + "/" + filepath } } if f != "" {