fixed urllib3 https warning

This commit is contained in:
kevin walchko 2015-02-15 23:13:27 -07:00 committed by Adam Coddington
parent 9539a2c7d8
commit 649d88316c

View file

@ -32,7 +32,7 @@ class PyiCloudService(object):
pyicloud = PyiCloudService('username@apple.com', 'password') pyicloud = PyiCloudService('username@apple.com', 'password')
pyicloud.iphone.location() pyicloud.iphone.location()
""" """
def __init__(self, apple_id, password, cookie_directory=None, verify=False): def __init__(self, apple_id, password, cookie_directory=None, verify=True):
self.discovery = None self.discovery = None
self.client_id = str(uuid.uuid1()).upper() self.client_id = str(uuid.uuid1()).upper()
self.user = {'apple_id': apple_id, 'password': password} self.user = {'apple_id': apple_id, 'password': password}