From: Mint <> Date: Mon, 7 Nov 2022 21:26:47 +0000 (+0300) Subject: Count other indexed frontends on main page X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f5f7007080cbbaad7f6cdea2a9a1089899b8e485;p=fba.git Count other indexed frontends on main page --- diff --git a/api.py b/api.py index db924c6..9931c25 100644 --- a/api.py +++ b/api.py @@ -20,7 +20,7 @@ def get_hash(domain: str) -> str: def info(): conn = sqlite3.connect("blocks.db") c = conn.cursor() - c.execute("select (select count(domain) from instances), (select count(domain) from instances where software in ('pleroma', 'mastodon')), (select count(blocker) from blocks)") + c.execute("select (select count(domain) from instances), (select count(domain) from instances where software in ('pleroma', 'mastodon', 'misskey', 'gotosocial', 'friendica')), (select count(blocker) from blocks)") known, indexed, blocks = c.fetchone() c.close() return {