1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-15 09:40:12 +02:00

--create-metadata: make sure apk[name] is not empty

This commit is contained in:
Izzy 2017-07-07 00:18:08 +02:00
parent 747ac52a62
commit 8ea06ce83e

View File

@ -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.')