From 1ca3a5cb09ec7cc59929afd494d6b8f3291646bc Mon Sep 17 00:00:00 2001 From: greko17 Date: Fri, 30 Aug 2019 18:48:02 +0200 Subject: [PATCH] fix checkhost --- specials/checkhost.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specials/checkhost.py b/specials/checkhost.py index 3ed5faa3..1f4a06f5 100644 --- a/specials/checkhost.py +++ b/specials/checkhost.py @@ -67,7 +67,7 @@ class Kdicc(): http_errr = 0 for rslt in r: xbmc.log("check_Adsl rslt: %s" % rslt['code'], level=xbmc.LOGNOTICE) - if rslt['code'] == '111': + if rslt['code'] == '111' or '[Errno -3]' in str(rslt['code']): http_errr +=1 if len(LIST_SITE) == http_errr: