mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-22 22:27:17 +00:00
fix: [module] typo
This commit is contained in:
parent
3fb281f6c3
commit
44d1860b87
1 changed files with 1 additions and 3 deletions
|
@ -106,9 +106,7 @@ def test_detection():
|
|||
dom = Domain(domain)
|
||||
is_detected = False
|
||||
for h in dom.get_correlation('title').get('title', []):
|
||||
t = Title(h[1:])
|
||||
title = t.get_content()
|
||||
module.obj = title
|
||||
module.obj = Title(h[1:])
|
||||
if module.compute(''):
|
||||
is_detected = True
|
||||
if not is_detected:
|
||||
|
|
Loading…
Reference in a new issue