From 19a5b5506e0e55322dab1f9e62cec38a073f1402 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 25 Jun 2023 09:01:38 +0200 Subject: [PATCH] Continued: - tpzo fixed --- fba/models/instances.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5