Merge pull request #54 from torarnv/dont-regenerate-client-id

Don't generate clientId twice
This commit is contained in:
Adam Coddington 2016-01-10 22:21:07 -08:00
commit ce8d570b21

View file

@ -102,10 +102,9 @@ class PyiCloudService(object):
) )
self.params.update({'id': sha.hexdigest().upper()}) self.params.update({'id': sha.hexdigest().upper()})
clientId = str(uuid.uuid1()).upper()
self.params.update({ self.params.update({
'clientBuildNumber': '14E45', 'clientBuildNumber': '14E45',
'clientId': clientId, 'clientId': self.client_id,
}) })
def authenticate(self): def authenticate(self):