]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Sun, 13 Aug 2023 14:50:12 +0000 (16:50 +0200)
committerRoland Häder <roland@mxchange.org>
Sun, 13 Aug 2023 14:50:12 +0000 (16:50 +0200)
- combine all discourse into one

fba/helpers/software.py

index 867ee2a1bd80474b2375c9b41573a4fda027cfaf..712bb6318870e20937901421ec59af36dfe679e4 100644 (file)
@@ -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"