fix nastiest bug ever

This commit is contained in:
Niko Storni 2018-08-10 08:41:21 -04:00
parent 1a6f234331
commit 3e32372dbe

View file

@ -66,7 +66,7 @@ func (v YoutubeVideo) getFilename() string {
name := chunks[0]
if len(name) > maxLen {
return name[:maxLen]
name = name[:maxLen]
}
for _, chunk := range chunks[1:] {