]> 127.0.0.1 Git - bili_danmu/.git/commitdiff
bug fix
authorqydysky <qydysky@foxmail.com>
Sat, 20 Feb 2021 05:51:38 +0000 (13:51 +0800)
committerqydysky <qydysky@foxmail.com>
Sat, 20 Feb 2021 05:51:38 +0000 (13:51 +0800)
bili_danmu.go

index 54152b710b5c66fc987bd68cb650610fb8c4f6d0..5b8f46758a92744cce092f1c0e62f444911bd63e 100644 (file)
@@ -134,7 +134,7 @@ func Demo(roomid ...int) {
                                        p.Sys().Timeoutf(3)
                                } else {
                                        q.File = "cookie.txt"
-                                       cookieString := p.File().FileWR(q)
+                                       cookieString = p.File().FileWR(q)
                                }
 
                                if cookieString == `` {//cookie.txt为空