fix: NoneType error

This commit is contained in:
Sayantan Santra 2023-10-17 23:51:20 -05:00
parent 8e126d4d45
commit 3858faf970
Signed by: SinTan1729
GPG Key ID: EB3E68BFBA25C85F
1 changed files with 7 additions and 6 deletions

View File

@ -125,6 +125,7 @@ def get_apks(appstate):
hard_version = False
compatible_vers = []
for patch in patches:
if patch['compatiblePackages'] is not None:
for pkg in patch['compatiblePackages']:
if pkg['name'] == apk:
try: