From 3e32372dbed9f08fe400d4962df3e03ca9c33a57 Mon Sep 17 00:00:00 2001 From: Niko Storni Date: Fri, 10 Aug 2018 08:41:21 -0400 Subject: [PATCH] fix nastiest bug ever --- sources/youtubeVideo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/youtubeVideo.go b/sources/youtubeVideo.go index f712545..9fb091e 100644 --- a/sources/youtubeVideo.go +++ b/sources/youtubeVideo.go @@ -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:] {