Skip to content

Commit

Permalink
Merge pull request #116 from gurnec/fix-purchased-downloads
Browse files Browse the repository at this point in the history
Fix download of purchased apps
  • Loading branch information
NoMore201 authored Mar 9, 2020
2 parents 7d3969e + 04ae986 commit 664c399
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gpapi/googleplay.py
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,8 @@ def delivery(self, packageName, versionCode=None, offerType=1,

if versionCode is None:
# pick up latest version
versionCode = self.details(packageName).get('versionCode')
appDetails = self.details(packageName).get('details').get('appDetails')
versionCode = appDetails.get('versionCode')

params = {'ot': str(offerType),
'doc': packageName,
Expand Down

0 comments on commit 664c399

Please sign in to comment.