Skip to content

Commit

Permalink
fix patched bug
Browse files Browse the repository at this point in the history
  • Loading branch information
nikooo777 committed Jul 26, 2021
1 parent 3a08822 commit fa9dc35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/youtubeVideo.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ func (v *YoutubeVideo) download() error {
defer func(start time.Time) {
timing.TimedComponent("download").Add(time.Since(start))
}(start)
if v.youtubeInfo.IsLive != nil {
if v.youtubeInfo.IsLive == true {
return errors.Err("video is a live stream and hasn't completed yet")
}
videoPath := v.getFullPath()
Expand Down

0 comments on commit fa9dc35

Please sign in to comment.