1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 22:40:12 +01:00

Merge branch 'metadata' into 'master'

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

See merge request !302
This commit is contained in:
Hans-Christoph Steiner 2017-07-06 22:49:26 +00:00
commit b0a8d4163d

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