From ed9d793f294fcbe06bd7da5ff3c7c83679e18266 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 26 May 2023 01:09:27 +0200 Subject: [PATCH] Continued: - an INFO message is okay, let the user know that the was found and taken as the software behind the instance/website --- fba.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fba.py b/fba.py index e6c15e8..1bc4684 100644 --- a/fba.py +++ b/fba.py @@ -471,7 +471,7 @@ def fetch_generator_from_path(domain: str, path: str = "/") -> str: if isinstance(tag, bs4.element.Tag): # NOISY-DEBUG: print("DEBUG: Found generator meta tag: ", domain) software = tidyup(tag.get("content")) - # NOISY-DEBUG: pprint(f"DEBUG: software='{software}', setting detection mode ...") + print(f"INFO: domain='{domain}' is generated by '{software}'") nodeinfos["detection_mode"][domain] = "GENERATOR" remove_pending_error(domain) -- 2.39.5