fix patched bug
This commit is contained in:
parent
3a0882230a
commit
fa9dc35123
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ func (v *YoutubeVideo) download() error {
|
||||||
defer func(start time.Time) {
|
defer func(start time.Time) {
|
||||||
timing.TimedComponent("download").Add(time.Since(start))
|
timing.TimedComponent("download").Add(time.Since(start))
|
||||||
}(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")
|
return errors.Err("video is a live stream and hasn't completed yet")
|
||||||
}
|
}
|
||||||
videoPath := v.getFullPath()
|
videoPath := v.getFullPath()
|
||||||
|
|
Loading…
Reference in a new issue