From 4e7f33af74361c8e34dc1faa6f88020b1daf8797 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 17 Jul 2023 00:17:44 +0200 Subject: [PATCH] Continued: - added "alias" (long version) --- fba/helpers/software.py | 3 +++ 1 file changed, 3 insertions(+) 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] -- 2.39.5