From 503ea4d440818753b0e5079730435a308bde7eb3 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Fri, 8 Jan 2021 03:41:35 +0100 Subject: [PATCH] [fix] people have more than 30 domains x_x --- yunodiagnoser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yunodiagnoser.py b/yunodiagnoser.py index 91e3e1d..64ae999 100644 --- a/yunodiagnoser.py +++ b/yunodiagnoser.py @@ -125,7 +125,7 @@ async def check_http(request): # Check domain list format assert isinstance(data["domains"], list), "'domains' ain't a list" assert len(data["domains"]) > 0, "'domains' list is empty" - assert len(data["domains"]) < 30, "You cannot test that many domains" + assert len(data["domains"]) < 60, "You cannot test that many domains" for domain in data["domains"]: assert isinstance(domain, str), "domain names must be strings" assert len(domain) < 100, "Domain %s name seems pretty long, that's suspicious...?" % domain