From e8e6bacb194933de3402a182ffc3dd070256e32b Mon Sep 17 00:00:00 2001 From: ikelos Date: Thu, 30 Jun 2022 09:57:09 +0100 Subject: [PATCH] Update volatility3/framework/objects/__init__.py Fix typo Co-authored-by: Donghyun Kim --- volatility3/framework/objects/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/objects/__init__.py b/volatility3/framework/objects/__init__.py index feb49a089..62e6de553 100644 --- a/volatility3/framework/objects/__init__.py +++ b/volatility3/framework/objects/__init__.py @@ -605,7 +605,7 @@ class Array(interfaces.objects.ObjectInterface, collections.abc.Sequence): @classmethod def child_template(cls, template: interfaces.objects.Template, child: str) -> interfaces.objects.Template: """Returns the template of the child member.""" - if 'subtype' in template.vol and child == 'subtype'@ + if 'subtype' in template.vol and child == 'subtype': return template.vol.subtype raise IndexError(f"Member not present in array template: {child}")