Merge pull request #116 from gurnec/fix-purchased-downloads

Fix download of purchased apps
This commit is contained in:
Domenico Iezzi 2020-03-09 11:07:45 +00:00 committed by GitHub
commit 664c399f81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -532,7 +532,8 @@ class GooglePlayAPI(object):
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,