mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-08 18:31:07 +03:00
--create-metadata: make sure apk[name] is not empty
This commit is contained in:
parent
747ac52a62
commit
8ea06ce83e
1 changed files with 1 additions and 1 deletions
|
@ -1767,7 +1767,7 @@ def main():
|
|||
# special tricks are not really needed here, this
|
||||
# uses the plain YAML lib
|
||||
app = dict()
|
||||
if 'name' in apk:
|
||||
if 'name' in apk and apk['name'] != '':
|
||||
app['Name'] = apk['name']
|
||||
else:
|
||||
logging.warning(apk['packageName'] + ' does not have a name! Using package name instead.')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue