From: Roland Häder Date: Sat, 15 Jul 2023 01:19:59 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5c62d3079ea2c8ea30a34b045522013c54653108;p=fba.git Continued: - abostrophed alias for 'takahe' network - alias added for misskey --- diff --git a/fba/helpers/software.py b/fba/helpers/software.py index 74cc923..17d33d5 100644 --- a/fba/helpers/software.py +++ b/fba/helpers/software.py @@ -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]