forked from p15670423/monkey
Rename variable to avoid parameter reuse
This commit is contained in:
parent
c8e2de6224
commit
9a40bfa211
|
@ -26,9 +26,9 @@ class AttackConfig(object):
|
|||
:return: Technique object or None if technique is not found
|
||||
"""
|
||||
attack_config = AttackConfig.get_config()
|
||||
for key, attack_type in list(attack_config['properties'].items()):
|
||||
for key, technique in list(attack_type['properties'].items()):
|
||||
if key == technique_id:
|
||||
for config_key, attack_type in list(attack_config['properties'].items()):
|
||||
for type_key, technique in list(attack_type['properties'].items()):
|
||||
if type_key == technique_id:
|
||||
return technique
|
||||
return None
|
||||
|
||||
|
|
Loading…
Reference in New Issue