fix nastiest bug ever
This commit is contained in:
parent
58c8e7f5a3
commit
2cb9082b50
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ func (v YoutubeVideo) getFilename() string {
|
||||||
|
|
||||||
name := chunks[0]
|
name := chunks[0]
|
||||||
if len(name) > maxLen {
|
if len(name) > maxLen {
|
||||||
return name[:maxLen]
|
name = name[:maxLen]
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, chunk := range chunks[1:] {
|
for _, chunk := range chunks[1:] {
|
||||||
|
|
Loading…
Reference in a new issue