mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-03-29 12:21:44 -04:00
--create-metadata: make sure apk[name] is not empty
This commit is contained in:
@@ -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.')
|
||||
|
||||
Reference in New Issue
Block a user