From fa6d14d89a83de7cb518c798376c530b7947494d Mon Sep 17 00:00:00 2001 From: fumiama Date: Fri, 15 Oct 2021 15:10:09 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20=20=E4=BF=AE=E6=AD=A3zip?= =?UTF-8?q?=E7=BC=93=E5=AD=98=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin_fortune/fortune.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin_fortune/fortune.go b/plugin_fortune/fortune.go index c1d7b1e1..30841483 100644 --- a/plugin_fortune/fortune.go +++ b/plugin_fortune/fortune.go @@ -109,7 +109,7 @@ func init() { folder := base + kind if _, err := os.Stat(folder); err != nil && !os.IsExist(err) { ctx.SendChain(message.Text("正在下载背景图片,请稍后...")) - zipfile := kind + ".zip" + zipfile := folder + ".zip" err := dl.DownloadTo(site+zipfile, zipfile) if err != nil { ctx.SendChain(message.Text("ERROR: ", err))