]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Sat, 15 Jul 2023 01:19:59 +0000 (03:19 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 15 Jul 2023 01:42:47 +0000 (03:42 +0200)
- abostrophed alias for 'takahe' network
- alias added for misskey

fba/helpers/software.py

index 74cc923c7f572756b0fc826419394d211ec86d08..17d33d52f3214d1ec3d5fa5f785b4b00555f78dd 100644 (file)
@@ -37,7 +37,7 @@ def alias(software: str) -> str:
     elif software in ["hometown", "ecko"] or "mastodon" in software:
         logger.debug("Setting mastodon: software='%s'", software)
         software = "mastodon"
-    elif software in ["slipfox calckey", "calckey", "groundpolis", "foundkey", "cherrypick", "meisskey", "magnetar", "keybump", "dolphin", "calckey social"] or ["shumihub", "мисскей"] in software:
+    elif software in ["slipfox calckey", "calckey", "groundpolis", "foundkey", "cherrypick", "meisskey", "magnetar", "keybump", "dolphin", "calckey social", "azk.sns"] or ["shumihub", "мисскей"] in software:
         logger.debug("Setting misskey: software='%s'", software)
         software = "misskey"
     elif software in ["runtube.re", "islameye"]:
@@ -49,6 +49,9 @@ def alias(software: str) -> str:
     elif software == "roadhouse":
         logger.debug("Setting hubzilla: software='%s'", software)
         software = "hubzilla"
+    elif software == "takahē":
+        logger.debug("Setting takahe: software='%s'", software)
+        software = "takahe"
     elif software.find("/") > 0:
         logger.warning("Spliting of slash: software='%s'", software)
         software = software.split("/")[-1]