added variable types to function
This commit is contained in:
parent
f45e42cd50
commit
e3bca69eaf
@ -3,7 +3,7 @@ from json import loads
|
||||
from hashlib import sha256
|
||||
import sqlite3
|
||||
|
||||
def get_type(domain):
|
||||
def get_type(domain: str) -> str:
|
||||
try:
|
||||
res = get("https://"+domain, timeout=5)
|
||||
if "pleroma" in res.text.lower():
|
||||
|
Loading…
x
Reference in New Issue
Block a user