mirror of https://github.com/CIRCL/AIL-framework
fix: [module] typo
parent
3fb281f6c3
commit
44d1860b87
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue