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:
commit
b0a8d4163d
@ -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…
Reference in New Issue
Block a user