Bundle name index

This commit is contained in:
relikd
2020-09-16 00:28:54 +02:00
parent eb4d104575
commit 6d33baa0db
8 changed files with 115 additions and 35 deletions

View File

@@ -1,6 +1,7 @@
#!/usr/bin/env python3
import common_lib as mylib
import index_bundle_names
def gen_obj(bundle_id):
@@ -10,7 +11,7 @@ def gen_obj(bundle_id):
icon = '/static/app-template.svg'
return {
'id': bundle_id,
'name': mylib.app_name(bundle_id, '< App-Name >'),
'name': index_bundle_names.get_name(bundle_id),
'img': icon
}