This commit is contained in:
s.mostryukov 2024-10-01 18:08:22 +03:00
parent c4011f0e45
commit d47c44e0ec
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ def start_check(
i["result"] = False
result.append(i)
if result_type == "test":
if result_type == "text":
results = []
for i in result:
if i["result"]:

View File

@ -24,7 +24,7 @@ async def check_ports(request: Request):
@router.get("/start")
async def start_check_ports(request: Request, inputText: str):
results = start_check(inputText, result_type="test")
results = start_check(inputText, result_type="text")
return templates.TemplateResponse(
"body-check_ports.html",
{