ensure whitelist always has a list
This commit is contained in:
parent
328bd0fe84
commit
72e660ede5
1 changed files with 1 additions and 1 deletions
|
@ -494,7 +494,7 @@ class TargetAndroid(Target):
|
|||
return package.lower()
|
||||
|
||||
def _generate_whitelist(self, dist_dir):
|
||||
p4a_whitelist = self.buildozer.config.getlist('app', 'android.p4a_whitelist')
|
||||
p4a_whitelist = self.buildozer.config.getlist('app', 'android.p4a_whitelist') or []
|
||||
whitelist_fn = join(dist_dir, 'whitelist.txt')
|
||||
with open(whitelist_fn, 'w') as fd:
|
||||
for wl in p4a_whitelist:
|
||||
|
|
Loading…
Reference in a new issue