Update volatility3/framework/objects/__init__.py

Fix typo

Co-authored-by: Donghyun Kim <digitalisx99@gmail.com>
This commit is contained in:
ikelos
2022-06-30 09:57:09 +01:00
committed by GitHub
co-authored by Donghyun Kim
parent aed87346cd
commit e8e6bacb19
+1 -1
View File
@@ -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}")