From 24636d2d476f28fbfe61cf71e0f84451746196ce Mon Sep 17 00:00:00 2001 From: Ritiek Malhotra Date: Fri, 16 Jun 2017 16:35:35 +0530 Subject: [PATCH] Revert --- spotdl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spotdl.py b/spotdl.py index 8bd76c9..fe8f5f6 100644 --- a/spotdl.py +++ b/spotdl.py @@ -261,7 +261,7 @@ def grab_list(file): global spotify spotify = spotipy.Spotify(auth=token) grab_single(raw_song, number=number) - except (urllib2.URLError, requests.exceptions.ConnectionError, IOError): + except (urllib2.URLError, IOError): lines.append(raw_song) misc.trim_song(file) with open(file, 'a') as myfile: