Merge branch 'master' of github.com:kivy/buildozer
This commit is contained in:
commit
b0c2bcde3e
1 changed files with 3 additions and 1 deletions
|
@ -762,7 +762,9 @@ class Buildozer(object):
|
|||
def _get_config_list(self, section, token, default=None):
|
||||
# monkey-patch method for ConfigParser
|
||||
# get a key as a list of string, seperated from the comma
|
||||
values = self.config.getdefault(section, token, default).split(',')
|
||||
values = self.config.getdefault(section, token, '').split(',')
|
||||
if not values:
|
||||
return default
|
||||
return [x.strip() for x in values]
|
||||
|
||||
def _get_config_default(self, section, token, default=None):
|
||||
|
|
Loading…
Reference in a new issue