From: Roland Häder Date: Fri, 28 Jul 2023 08:19:39 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9585d3ff18dd628d21296a748fa92bcd2a27bb16;p=fba.git Continued: - added re+ as alias but not with a regular + sign but UTF-8 encoded ... --- diff --git a/fba/helpers/software.py b/fba/helpers/software.py index fafa81d..646442b 100644 --- a/fba/helpers/software.py +++ b/fba/helpers/software.py @@ -40,7 +40,7 @@ def alias(software: str) -> str: elif software in ["hometown", "ecko", "fedibird" ] or "되는 마스토돈" in software 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", "azk.sns", "firefish", "qtmmsky", "iceshrimp", "owohub"] or "shumihub" in software or "мисскей" in software or "milkey" in software or "misskey" in software: + elif software in ["slipfox calckey", "calckey", "groundpolis", "foundkey", "cherrypick", "meisskey", "magnetar", "keybump", "dolphin", "calckey social", "azk.sns", "firefish", "qtmmsky", "iceshrimp", "owohub", "re+"] or "shumihub" in software or "мисскей" in software or "milkey" in software or "misskey" in software: logger.debug("Setting misskey: software='%s'", software) software = "misskey" elif software in ["runtube.re", "islameye"]: