From 75f05e8cb0e53176583c151632cba073267784b3 Mon Sep 17 00:00:00 2001 From: Ritiek Malhotra Date: Tue, 20 Jun 2017 21:51:46 +0530 Subject: [PATCH] Fixes #75 --- spotdl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spotdl.py b/spotdl.py index a82ee38..6a9270f 100644 --- a/spotdl.py +++ b/spotdl.py @@ -403,7 +403,7 @@ def grabList(file): print('') except KeyboardInterrupt: graceQuit() - except ConnectionError: + except requests.exceptions.ConnectionError: lines.append(raw_song) trimSong(file) with open(file, 'a') as myfile: