Skip to content

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

Update sfp_citadel.py

bcoles9c0a3479dfb9
diff --git a/modules/sfp_citadel.py b/modules/sfp_citadel.py
index 8c7a5b7c..5d851240 100644
--- a/modules/sfp_citadel.py
+++ b/modules/sfp_citadel.py
@@ -102,7 +102,7 @@ class sfp_citadel(SpiderFootPlugin):
error = data.get('error')
message = data.get('message')
- if data.get('error') == 'true':
+ if error == 'true':
self.sf.error("Error encountered processing {}: {}".format( eventData, message ), False)
return None