From 7088bff58d16753d60c582b244d0e52fee95cdad Mon Sep 17 00:00:00 2001 From: RemixDev Date: Sat, 15 Aug 2020 23:43:39 +0200 Subject: [PATCH] Fixed "Fixed check for corrupted FLACs" --- deemix/app/downloadjob.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deemix/app/downloadjob.py b/deemix/app/downloadjob.py index 09d227c..42facfd 100644 --- a/deemix/app/downloadjob.py +++ b/deemix/app/downloadjob.py @@ -423,7 +423,7 @@ class DownloadJob: except DownloadCancelled: remove(writepath) raise DownloadCancelled - except HTTPError, DownloadEmpty: + except (HTTPError, DownloadEmpty): remove(writepath) if track.fallbackId != "0": logger.warn(f"[{track.mainArtist['name']} - {track.title}] Track not available, using fallback id")