]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Wed, 17 Jul 2024 18:07:17 +0000 (20:07 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 17 Jul 2024 18:07:17 +0000 (20:07 +0200)
- skip unset software (None)

fba/commands.py

index 646a60e55c67045badf34c1d5f3e81cc385e6264..b33145aa06b6cc96a2f760347749a46200c04372 100644 (file)
@@ -317,6 +317,9 @@ def fetch_blocks(args: argparse.Namespace) -> int:
         elif not args.force and instances.is_recent(blocker, "last_blocked"):
             logger.debug("blocker='%s' has recently been crawled - SKIPPED!", blocker)
             continue
+        elif software is None:
+            logger.warning("blocker='%s' has no software set - SKIPPED!", blocker)
+            continue
 
         logger.debug("Setting last_blocked,has_obfuscation=false for blocker='%s' ...", blocker)
         instances.set_last_blocked(blocker)