Don't log header if checking connection to a PMS

This commit is contained in:
tomkat83 2016-03-07 14:10:47 +01:00
parent 398ef64d96
commit c0f2067856

View file

@ -345,8 +345,8 @@ class PlexAPI():
sslverify = True
else:
sslverify = False
self.logMsg("Checking connection to server %s with header %s and "
"sslverify=%s" % (url, header, sslverify), 1)
self.logMsg("Checking connection to server %s with sslverify=%s"
% (url, sslverify), 1)
timeout = (3, 10)
if 'plex.tv' in url:
url = 'https://plex.tv/api/home/users'