]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Sun, 16 Jul 2023 22:17:44 +0000 (00:17 +0200)
committerRoland Häder <roland@mxchange.org>
Sun, 16 Jul 2023 22:17:44 +0000 (00:17 +0200)
- added "alias" (long version)

fba/helpers/software.py

index df654096e92d7caa5ad7c4f43091721bb7524ccb..085577fb04866041247f9cb046446e4c37c830e6 100644 (file)
@@ -52,6 +52,9 @@ def alias(software: str) -> str:
     elif software == "takahē":
         logger.debug("Setting takahe: software='%s'", software)
         software = "takahe"
+    elif software == "diaspora* social network":
+        logger.debug("Setting diaspora: software='%s'", software)
+        software = "diaspora"
     elif software.find("/") > 0:
         logger.warning("Spliting of slash: software='%s'", software)
         software = software.split("/")[-1]