From: Enju Aihara <9839590-EnjuAihara@users.noreply.gitlab.com> Date: Thu, 31 Mar 2022 15:17:11 +0000 (+0200) Subject: added variable types to function X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e3bca69eafa9a4db84f3c33160f2dc78f82d813c;p=fba.git added variable types to function --- diff --git a/fetch_blocks.py b/fetch_blocks.py index 0490209..6a4735a 100644 --- a/fetch_blocks.py +++ b/fetch_blocks.py @@ -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():