mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 09:46:11 +00:00
Fix for connection
In case status is good, but server is unreachable.
This commit is contained in:
parent
fc8c41ccf3
commit
4e2cd67946
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ class DownloadUtils():
|
||||||
self.logMsg("Response: %s" % r, 2)
|
self.logMsg("Response: %s" % r, 2)
|
||||||
return r
|
return r
|
||||||
except:
|
except:
|
||||||
if r.headers['content-type'] == "text/html":
|
if r.headers.get('content-type') == "text/html":
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
self.logMsg("Unable to convert the response for: %s" % url, 1)
|
self.logMsg("Unable to convert the response for: %s" % url, 1)
|
||||||
|
|
Loading…
Reference in a new issue