fix nastiest bug ever
This commit is contained in:
parent
1a6f234331
commit
3e32372dbe
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