From: Roland Häder Date: Wed, 23 Aug 2023 07:10:40 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5892b4a6f902c39782258fb3d89cf66ab6ebd8e3;p=fba.git Continued: - added "dynamic alias" for software type 'gnusocial' --- diff --git a/fba/helpers/software.py b/fba/helpers/software.py index 56aebce..8c77934 100644 --- a/fba/helpers/software.py +++ b/fba/helpers/software.py @@ -76,6 +76,9 @@ def alias(software: str) -> str: elif software == "gitdab": logger.debug("Setting forgejo: software='%s'", software) software = "forgejo" + elif "gnu social" in software: + logger.debug("Setting gnusocial: software='%s'", software) + software = "gnusocial" elif software.find("/") > 0: logger.warning("Spliting of slash: software='%s'", software) software = software.split("/")[-1]