]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Tue, 5 Dec 2023 01:01:06 +0000 (02:01 +0100)
committerRoland Häder <roland@mxchange.org>
Tue, 5 Dec 2023 01:01:06 +0000 (02:01 +0100)
- added another alias 'lycheebridge' for 'misskey'

fba/commands.py
fba/helpers/software.py

index 97b43cf7b8f2959ad4826d8cc4e9b2ecf75b718f..8027683bd0932bcb989baaef18ad2cf76349bd16 100644 (file)
@@ -1708,11 +1708,11 @@ def fetch_relays(args: argparse.Namespace) -> int:
     logger.info("Checking %d relays ...", len(rows))
     for row in rows:
         logger.debug("row[domain]='%s',row[software]='%s' ...", row["domain"], row["software"])
-        peers = list()
         if not args.force and instances.is_recent(row["domain"]):
             logger.debug("row[domain]='%s' has been recently fetched - SKIPPED!", row["domain"])
             continue
 
+        peers = list()
         try:
             if row["software"] == "pub-relay":
                 logger.info("Fetching row[nodeinfo_url]='%s' from relay row[domain]='%s',row[software]='%s' ...", row["nodeinfo_url"], row["domain"], row["software"])
index 90fa5c58a59ed7bfdc8b2aff3c6a3b3c7f8c607a..eff6eb58b8f53e2f9e87f51df25dfd6d8b97915f 100644 (file)
@@ -61,7 +61,7 @@ def alias(software: str) -> str:
     elif software in ["hometown", "ecko", "fedibird", "glitchcafe"] 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", "re+", "russkey", "loverskey", "hajkey", "sharkey", "renekey", "renekey-lite", "yoiyami", "catnip", "cyberskey", "catodon"] 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+", "russkey", "loverskey", "hajkey", "sharkey", "renekey", "renekey-lite", "yoiyami", "catnip", "cyberskey", "catodon", "lycheebridge"] 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"]: