mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 13:59:39 +08:00
🐛 fix saucenao relative path
This commit is contained in:
parent
e245a8f124
commit
fa973a9231
@ -61,7 +61,7 @@ func init() { // 插件主体
|
|||||||
logrus.Debugln("[sausenao]开始下载", n)
|
logrus.Debugln("[sausenao]开始下载", n)
|
||||||
filepath, err = illust.DownloadToCache(i, n)
|
filepath, err = illust.DownloadToCache(i, n)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
f = filepath
|
f = file.BOTPATH + "/" + filepath
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if f != "" {
|
if f != "" {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user