Adding another spastic fork
This commit is contained in:
parent
7b6b8d567f
commit
d1383fb9c9
@ -71,6 +71,8 @@ def get_type(domain: str) -> str:
|
|||||||
if res.ok:
|
if res.ok:
|
||||||
if res.json()["software"]["name"] == "akkoma":
|
if res.json()["software"]["name"] == "akkoma":
|
||||||
return "pleroma"
|
return "pleroma"
|
||||||
|
elif res.json()["software"]["name"] == "hometown":
|
||||||
|
return "mastodon"
|
||||||
else:
|
else:
|
||||||
return res.json()["software"]["name"]
|
return res.json()["software"]["name"]
|
||||||
elif res.status_code == 404:
|
elif res.status_code == 404:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user