From ff4217b4888915224f3fbc490ec8b75c6889df3f Mon Sep 17 00:00:00 2001 From: Croneter Date: Fri, 1 Jun 2018 18:49:43 +0200 Subject: [PATCH] Specify exception type --- resources/lib/downloadutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/downloadutils.py b/resources/lib/downloadutils.py index 6505702c..3c28ab11 100644 --- a/resources/lib/downloadutils.py +++ b/resources/lib/downloadutils.py @@ -318,7 +318,7 @@ class DownloadUtils(): LOG.warn('Failed to connect to %s too many times. ' 'Declare PMS dead', url) window('plex_online', value="false") - except: + except ValueError: # 'countError' not yet set pass return None