Skip to content

The definitive list of the best of (consumer facing) open source.

Account for null desc

Lucas6b4cb2b4a33a
diff --git a/core/source/generation/contents_generator.py b/core/source/generation/contents_generator.py
index 9bc6600..a265ab1 100644
--- a/core/source/generation/contents_generator.py
+++ b/core/source/generation/contents_generator.py
@@ -103,7 +103,7 @@ def generate_contents(platform="all"):
apps = apps_by_subcat.get(sub["id"], [])
for app in apps:
name = app.get("name", "")
- description = app.get("description", "").replace("|", "-")
+ description = (app.get("description") or "").replace("|", "-")
link = app.get("repo_url", "#")
attribute_tags = ""
property_tags = ""