Merge pull request #54 from torarnv/dont-regenerate-client-id
Don't generate clientId twice
This commit is contained in:
commit
ce8d570b21
1 changed files with 1 additions and 2 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue