From 8f0638213815d48b56ce2a8767ab4afd543ad628 Mon Sep 17 00:00:00 2001 From: Mint <> Date: Sat, 17 Sep 2022 23:25:52 +0300 Subject: [PATCH] +1 Pisskey fork --- fetch_blocks.py | 2 +- fetch_instances.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fetch_blocks.py b/fetch_blocks.py index b3141b1..592504c 100644 --- a/fetch_blocks.py +++ b/fetch_blocks.py @@ -167,7 +167,7 @@ def get_type(domain: str) -> str: return "pleroma" elif res.json()["software"]["name"] in ["hometown", "ecko"]: return "mastodon" - elif res.json()["software"]["name"] in ["calckey", "groundpolis", "foundkey"]: + elif res.json()["software"]["name"] in ["calckey", "groundpolis", "foundkey", "cherrypick"]: return "misskey" else: return res.json()["software"]["name"] diff --git a/fetch_instances.py b/fetch_instances.py index f3fd40e..30b05a5 100644 --- a/fetch_instances.py +++ b/fetch_instances.py @@ -38,7 +38,7 @@ def get_type(instdomain: str) -> str: return "pleroma" elif res.json()["software"]["name"] in ["hometown", "ecko"]: return "mastodon" - elif res.json()["software"]["name"] in ["calckey", "groundpolis", "foundkey"]: + elif res.json()["software"]["name"] in ["calckey", "groundpolis", "foundkey", "cherrypick"]: return "misskey" else: return res.json()["software"]["name"]