mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-09 08:50:11 +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
|
# 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…
Reference in New Issue
Block a user