fix: [module] typo

pull/607/merge
terrtia 2024-10-11 14:39:19 +02:00
parent 3fb281f6c3
commit 44d1860b87
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 1 additions and 3 deletions

View File

@ -106,9 +106,7 @@ def test_detection():
dom = Domain(domain) dom = Domain(domain)
is_detected = False is_detected = False
for h in dom.get_correlation('title').get('title', []): for h in dom.get_correlation('title').get('title', []):
t = Title(h[1:]) module.obj = Title(h[1:])
title = t.get_content()
module.obj = title
if module.compute(''): if module.compute(''):
is_detected = True is_detected = True
if not is_detected: if not is_detected: