fix linting error

This commit is contained in:
manasghandat
2023-03-31 12:29:26 +05:30
parent c1735b6033
commit d09e1c8ee2

View File

@@ -68,7 +68,7 @@ def extract_format(buf) -> Iterator[Tuple[Feature, Address]]:
def extract_arch(buf) -> Iterator[Tuple[Feature, Address]]:
if buf.startswith(MATCH_PE):
yield from capa.features.extractors.pefile.extract_file_arch(pe=pefile.PE(data=buf))
elif buf.startswith(MATCH_RESULT):
yield Arch(ARCH_ANY), NO_ADDRESS