mirror of
https://github.com/YunoHost/apps.git
synced 2024-09-03 20:06:07 +02:00
list_builder: fix subtags not being a list, breaking yunohost
This commit is contained in:
parent
a6465fd421
commit
9c1b1e6906
2 changed files with 5 additions and 1 deletions
|
@ -3,7 +3,7 @@ icon = "user-secret"
|
||||||
title.en = "Tracking"
|
title.en = "Tracking"
|
||||||
title.fr = "Pistage"
|
title.fr = "Pistage"
|
||||||
description.en = "Tracks you and/or reports your activity to upstream maintainer or third parties, either without your permission or by default."
|
description.en = "Tracks you and/or reports your activity to upstream maintainer or third parties, either without your permission or by default."
|
||||||
decription.fr = "Vous piste et/ou rapporte vos activités au mainteneur source ou à des tiers, sans votre permission ou par défaut."
|
description.fr = "Vous piste et/ou rapporte vos activités au mainteneur source ou à des tiers, sans votre permission ou par défaut."
|
||||||
|
|
||||||
[non-free-network]
|
[non-free-network]
|
||||||
icon = "sitemap"
|
icon = "sitemap"
|
||||||
|
|
|
@ -18,6 +18,10 @@ now = time.time()
|
||||||
categories = toml.load(open("categories.toml"))
|
categories = toml.load(open("categories.toml"))
|
||||||
for category_id, infos in categories.items():
|
for category_id, infos in categories.items():
|
||||||
infos["id"] = category_id
|
infos["id"] = category_id
|
||||||
|
for subtag_id, subtag_infos in infos.get("subtags", {}).items():
|
||||||
|
subtag_infos["id"] = subtag_id
|
||||||
|
infos["subtags"] = list(infos.get('subtags', {}).values())
|
||||||
|
|
||||||
categories = list(categories.values())
|
categories = list(categories.values())
|
||||||
|
|
||||||
# (Same for antifeatures)
|
# (Same for antifeatures)
|
||||||
|
|
Loading…
Add table
Reference in a new issue