From: Roland Häder Date: Sun, 16 Jul 2023 22:17:44 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4e7f33af74361c8e34dc1faa6f88020b1daf8797;p=fba.git Continued: - added "alias" (long version) --- diff --git a/fba/helpers/software.py b/fba/helpers/software.py index df65409..085577f 100644 --- a/fba/helpers/software.py +++ b/fba/helpers/software.py @@ -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]