]> 127.0.0.1 Git - bili_danmu/.git/commitdiff
Fix 移除多于的路径分隔符
authorqydysky <qydysky@foxmail.com>
Sun, 9 Apr 2023 12:03:02 +0000 (20:03 +0800)
committerqydysky <qydysky@foxmail.com>
Sun, 9 Apr 2023 12:03:02 +0000 (20:03 +0800)
Reply/stream.go

index af85e4e51edddfe1535dd0f468c35c10f8d2b100..8a1a1133048e9bbc08cae394143af43b520bab18 100644 (file)
@@ -161,7 +161,7 @@ func (t *M4SStream) LoadConfig(common c.Common) (e error) {
                        } else if !fs.IsDir() {
                                return errors.New(`直播流保存位置不是目录`)
                        }
-                       t.config.save_path = path + "/"
+                       t.config.save_path = path
                } else {
                        return errors.New(`直播流保存位置错误` + err.Error())
                }