]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Sun, 25 Jun 2023 07:01:38 +0000 (09:01 +0200)
committerRoland Häder <roland@mxchange.org>
Sun, 25 Jun 2023 07:01:38 +0000 (09:01 +0200)
- tpzo fixed

fba/models/instances.py

index 3ba4bd760bec1a0cf58135e0697c6a2a4be327aa..320a24f69d90d639dc7fb29c5a99b85329aad928 100644 (file)
@@ -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)