From: Roland Häder Date: Sun, 28 May 2023 09:36:18 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=af91ffe853e3b42f3c62dfe1ac0befbb0176cd1a;p=fba.git Continued: - also ngrok-free.app is a testing/development ground, no productive/live instances will be found there - please don't abuse their kind services for hosting a live instance! - didn't log variable "instance", ops --- diff --git a/fba.py b/fba.py index af111d3..458f9f0 100644 --- a/fba.py +++ b/fba.py @@ -24,7 +24,7 @@ blacklist = [ # Flooder (?) "mastotroll.netz.org", # Testing/developing installations - "ngrok.io", + "ngrok.io", "ngrok-free.app", ] # Array with pending errors needed to be written to database diff --git a/fetch_instances.py b/fetch_instances.py index 3e85543..a53ef22 100644 --- a/fetch_instances.py +++ b/fetch_instances.py @@ -31,7 +31,7 @@ def fetch_instances(domain: str, origin: str, software: str): print("WARNING: Empty instance after tidyup(), domain:", domain) continue elif not validators.domain(instance.split("/")[0]): - print(f"WARNING: Bad instance='{domain} from domain='{domain}',origin='{origin}',software='{software}'") + print(f"WARNING: Bad instance='{instance}' from domain='{domain}',origin='{origin}',software='{software}'") continue elif fba.is_blacklisted(instance): # NOISY-DEBUG: print("DEBUG: instance is blacklisted:", instance)