From e8239c1576bf75b1c7e5d6f32368f8cd44835f11 Mon Sep 17 00:00:00 2001 From: qydysky Date: Sun, 9 Apr 2023 00:34:33 +0800 Subject: [PATCH] =?utf8?q?Fix=20=E9=81=BF=E5=85=8D=E9=87=8D=E5=A4=8D?= =?utf8?q?=E5=BB=BA=E7=AB=8B=E7=9B=AE=E5=BD=95Panic?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Reply/stream.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Reply/stream.go b/Reply/stream.go index f3ed408..8172e93 100644 --- a/Reply/stream.go +++ b/Reply/stream.go @@ -567,6 +567,9 @@ func (t *M4SStream) getSavepath() { // 显示保存位置 if rel, err := filepath.Rel(t.config.save_path, t.Current_save_path); err == nil { t.log.L(`I: `, "保存到", rel+`/0.`+t.stream_type) + f := file.New(t.config.save_path+"tmp.create", 0, true) + f.Create() + f.Delete() } else { t.log.L(`W: `, err) } -- 2.39.2