mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-02-12 18:20:27 +00:00
🐛 fix saucenao relative path
This commit is contained in:
@@ -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 != "" {
|
||||
|
||||
Reference in New Issue
Block a user