From 2c807ffc4389d93c6fd85f3bcbb457533bf6e117 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Mon, 30 Nov 2020 16:45:53 +0100 Subject: [PATCH] urllib3 SSLError check when downloading the track --- 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 8f5d869..9b3e380 100644 --- a/deemix/app/downloadjob.py +++ b/deemix/app/downloadjob.py @@ -709,7 +709,7 @@ class DownloadJob: self.downloadPercentage += chunkProgres self.updatePercentage() - except SSLError as e: + except (SSLError, u3SSLError) as e: logger.info(f'{itemName} retrying from byte {chunkLength}') return self.streamTrack(stream, track, chunkLength) except (request_exception.ConnectionError, requests.exceptions.ReadTimeout):