Skip to content

Commit

Permalink
Merge pull request picklepete#54 from torarnv/dont-regenerate-client-id
Browse files Browse the repository at this point in the history
Don't generate clientId twice
  • Loading branch information
coddingtonbear committed Jan 11, 2016
2 parents 176dc30 + 5e41650 commit ce8d570
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pyicloud/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,9 @@ def refresh_validate(self):
)
self.params.update({'id': sha.hexdigest().upper()})

clientId = str(uuid.uuid1()).upper()
self.params.update({
'clientBuildNumber': '14E45',
'clientId': clientId,
'clientId': self.client_id,
})

def authenticate(self):
Expand Down

0 comments on commit ce8d570

Please sign in to comment.