🐛 fix saucenao relative path

This commit is contained in:
fumiama 2022-01-27 15:50:08 +08:00
parent e245a8f124
commit fa973a9231

View File

@ -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 != "" {