From: Roland Häder Date: Sun, 25 Jun 2023 07:01:38 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=19a5b5506e0e55322dab1f9e62cec38a073f1402;p=fba.git Continued: - tpzo fixed --- diff --git a/fba/models/instances.py b/fba/models/instances.py index 3ba4bd7..320a24f 100644 --- a/fba/models/instances.py +++ b/fba/models/instances.py @@ -288,7 +288,7 @@ def is_recent(domain: str, column: str = "last_instance_fetch") -> bool: if not isinstance(column, str): raise ValueError(f"Parameter column[]='{type(column)}' is not 'str'") - elif column not in ["last_instance_fetch", "last_blocks"]: + elif column not in ["last_instance_fetch", "last_blocked"]: raise ValueError(f"Parameter column='{column}' is not expected") elif not is_registered(domain): logger.debug("domain='%s' is not registered, returning False - EXIT!", domain)