Fix download of purchased apps

This updates delivery() to use the newer protobuf definition
in the same way that download() was updated in 46b4271.
This commit is contained in:
Christopher Gurnee 2020-02-27 18:59:58 -05:00
parent 7d3969ea1d
commit 04ae986e00

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,