]> git.mxchange.org Git - fba.git/commitdiff
Adding another spastic fork
authorMint <>
Tue, 9 Aug 2022 09:56:34 +0000 (12:56 +0300)
committerMint <>
Tue, 9 Aug 2022 09:56:34 +0000 (12:56 +0300)
fetch_blocks.py

index 64a344a3327d058c189fbd681bb46ce707ad731a..4d65babf3da4f2edd45055cecbcc928c888c8ea0 100644 (file)
@@ -71,6 +71,8 @@ def get_type(domain: str) -> str:
         if res.ok:
             if res.json()["software"]["name"] == "akkoma":
                 return "pleroma"
+            elif res.json()["software"]["name"] == "hometown":
+                return "mastodon"
             else:
                 return res.json()["software"]["name"]
         elif res.status_code == 404: