Skip to content

SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.

Bug fix.

smicallef74fb2ea5eb83
diff --git a/modules/sfp_countryname.py b/modules/sfp_countryname.py
index 4cf2dd16..221c6eff 100644
--- a/modules/sfp_countryname.py
+++ b/modules/sfp_countryname.py
@@ -178,7 +178,7 @@ class sfp_countryname(SpiderFootPlugin):
return abbvCountryCodes[countryCode.upper()]
except:
# Region code not present in source phone number
- self.debug("Skipped invalid phone number: " + srcPhoneNumber)
+ self.sf.debug("Skipped invalid phone number: " + srcPhoneNumber)
return None