From d1383fb9c99e148c0ca9ba1a0a71762d86419adf Mon Sep 17 00:00:00 2001 From: Mint <> Date: Tue, 9 Aug 2022 12:56:34 +0300 Subject: [PATCH] Adding another spastic fork --- fetch_blocks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fetch_blocks.py b/fetch_blocks.py index 64a344a..4d65bab 100644 --- a/fetch_blocks.py +++ b/fetch_blocks.py @@ -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: -- 2.39.5