]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Wed, 23 Aug 2023 07:10:40 +0000 (09:10 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 23 Aug 2023 07:10:40 +0000 (09:10 +0200)
- added "dynamic alias" for software type 'gnusocial'

fba/helpers/software.py

index 56aebce65f27a838428158dc681e9c15956c735e..8c77934dd779effe9a052e4de86584fee3a50607 100644 (file)
@@ -76,6 +76,9 @@ def alias(software: str) -> str:
     elif software == "gitdab":
         logger.debug("Setting forgejo: software='%s'", software)
         software = "forgejo"
+    elif "gnu social" in software:
+        logger.debug("Setting gnusocial: software='%s'", software)
+        software = "gnusocial"
     elif software.find("/") > 0:
         logger.warning("Spliting of slash: software='%s'", software)
         software = software.split("/")[-1]