From 7f9f13eb1dfa288dc6b3a31135fd6cb26386e447 Mon Sep 17 00:00:00 2001 From: Ritiek Malhotra Date: Wed, 14 Jun 2017 21:31:05 +0530 Subject: [PATCH] Fail the current song only if ConnectionError --- spotdl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spotdl.py b/spotdl.py index 461d32d..84fdba4 100644 --- a/spotdl.py +++ b/spotdl.py @@ -402,7 +402,7 @@ def grabList(file): print('') except KeyboardInterrupt: graceQuit() - except BaseException: + except ConnectionError: lines.append(raw_song) trimSong(file) with open(file, 'a') as myfile: