From 5951225902f35fbcf37931ee014f06283000296c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 13 Aug 2023 16:50:12 +0200 Subject: [PATCH] Continued: - combine all discourse into one --- fba/helpers/software.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fba/helpers/software.py b/fba/helpers/software.py index 867ee2a..712bb63 100644 --- a/fba/helpers/software.py +++ b/fba/helpers/software.py @@ -49,6 +49,9 @@ def alias(software: str) -> str: elif software in ["nextcloud social", "nextcloudpi", "storage share", "nube"] or "nextcloud" in software: logger.debug("Setting nextcloud: software='%s'", software) software = "nextcloud" + elif "discourse" in software: + logger.debug("Setting discourse: software='%s'", software) + software = "discourse" elif software == "activity-relay": logger.debug("Setting activityrelay: software='%s'", software) software = "activityrelay" -- 2.39.5