fix nastiest bug ever

This commit is contained in:
Niko Storni 2018-08-10 08:41:21 -04:00
parent 58c8e7f5a3
commit 2cb9082b50
No known key found for this signature in database
GPG key ID: F37FE63398800368

View file

@ -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:] {