From e3bca69eafa9a4db84f3c33160f2dc78f82d813c Mon Sep 17 00:00:00 2001 From: Enju Aihara <9839590-EnjuAihara@users.noreply.gitlab.com> Date: Thu, 31 Mar 2022 17:17:11 +0200 Subject: [PATCH] added variable types to function --- fetch_blocks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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():