SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Fix missing `f` prefix on f-strings (#1649)
bcoles5ac603d24255
diff --git a/sfcli.py b/sfcli.pyindex a1abbd43..0ad56504 100755--- a/sfcli.py+++ b/sfcli.py@@ -1011,7 +1011,7 @@ class SpiderFootCli(cmd.Cmd):self.dprint(f"Unable to start scan: {s[1]}")if "-w" in c[0]:- return self.do_logs("{s[1]} -w")+ return self.do_logs(f"{s[1]} -w")return Nonediff --git a/spiderfoot/correlation.py b/spiderfoot/correlation.pyindex 1343b9a4..29dbf122 100644--- a/spiderfoot/correlation.py+++ b/spiderfoot/correlation.py@@ -415,7 +415,7 @@ class SpiderFootCorrelator:# Aggregate events according to the ruledef aggregate_events(self, rule: dict, events: list) -> dict:if 'field' not in rule:- self.error("Unable to find field definition for aggregation in {rule['id']}")+ self.error(f"Unable to find field definition for aggregation in {rule['id']}")return False# strip sub fields that don't match value