Skip to content

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

fix: remove unneeded unicode conversion

Amr Awadb568c96aaa42
diff --git a/modules/sfp_email.py b/modules/sfp_email.py
index 57894cca..5827238d 100644
--- a/modules/sfp_email.py
+++ b/modules/sfp_email.py
@@ -76,10 +76,7 @@ class sfp_email(SpiderFootPlugin):
evttype = "AFFILIATE_EMAILADDR"
self.sf.info("Found e-mail address: " + email)
- if type(email) == str:
- mail = unicode(email.strip('.'))
- else:
- mail = email.strip('.')
+ mail = email.strip('.')
if mail in myres:
self.sf.debug("Already found from this source.")