From 1597ba71286acc7ab13c4094d67ca3739517d5ac Mon Sep 17 00:00:00 2001 From: fumiama Date: Thu, 24 Feb 2022 19:55:28 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=A9=F0=9F=91=8C=20make=20lint=20happy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin_setutime/setu_geter.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugin_setutime/setu_geter.go b/plugin_setutime/setu_geter.go index efa31421..9876bea3 100644 --- a/plugin_setutime/setu_geter.go +++ b/plugin_setutime/setu_geter.go @@ -13,7 +13,6 @@ import ( sql "github.com/FloatTech/sqlite" control "github.com/FloatTech/zbputils/control" "github.com/FloatTech/zbputils/ctxext" - "github.com/FloatTech/zbputils/file" fileutil "github.com/FloatTech/zbputils/file" imagepool "github.com/FloatTech/zbputils/img/pool" "github.com/FloatTech/zbputils/math" @@ -172,7 +171,7 @@ func (p *imgpool) push(ctx *zero.Ctx, imgtype string, illust *pixiv.Illust) { if ctxext.SendToSelf(ctx)(msg) == 0 { msg = msg.Add("cache", "0") if ctxext.SendToSelf(ctx)(msg) == 0 { - err = file.DownloadTo(m.String(), f, true) + err = fileutil.DownloadTo(m.String(), f, true) if err != nil { ctx.SendChain(message.Text("ERROR: ", err)) return