diff --git a/capa/features/extractors/pefile.py b/capa/features/extractors/pefile.py index 6d9e6ae7..5ceb67cd 100644 --- a/capa/features/extractors/pefile.py +++ b/capa/features/extractors/pefile.py @@ -136,7 +136,7 @@ FILE_HANDLERS = ( class PefileFeatureExtractor(FeatureExtractor): - def __init__(self, path): + def __init__(self, path: str): super(PefileFeatureExtractor, self).__init__() self.path = path self.pe = pefile.PE(path)