Skip to content

Commit

Permalink
fixbug
Browse files Browse the repository at this point in the history
  • Loading branch information
orestonce committed Aug 22, 2024
1 parent 49e5799 commit 1812bb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api.go
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ func (this *DownloadEnv) runDownload(req StartDownload_Req, skipInfo SkipTsInfo)
expectMp4Bytes += stat.Size()
tsFileList = append(tsFileList, fileNameFull)
}
if skipByHttpCodeLog.Len() > 0 && false {
if skipByHttpCodeLog.Len() > 0 {
err = os.WriteFile(filepath.Join(tsSaveDir, logFileName), skipByHttpCodeLog.Bytes(), 0777)
if err != nil {
this.setErrMsg("写入" + logFileName + "失败, " + err.Error())
Expand Down

0 comments on commit 1812bb3

Please sign in to comment.