mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-09 00:40:29 +03: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
1 changed files with 1 additions and 1 deletions
|
|
@ -1767,7 +1767,7 @@ def main():
|
||||||
# special tricks are not really needed here, this
|
# special tricks are not really needed here, this
|
||||||
# uses the plain YAML lib
|
# uses the plain YAML lib
|
||||||
app = dict()
|
app = dict()
|
||||||
if 'name' in apk:
|
if 'name' in apk and apk['name'] != '':
|
||||||
app['Name'] = apk['name']
|
app['Name'] = apk['name']
|
||||||
else:
|
else:
|
||||||
logging.warning(apk['packageName'] + ' does not have a name! Using package name instead.')
|
logging.warning(apk['packageName'] + ' does not have a name! Using package name instead.')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue