diff --git a/src/ntfsdump/models/ImageFile.py b/src/ntfsdump/models/ImageFile.py index a23f5c7..9c0ea5b 100644 --- a/src/ntfsdump/models/ImageFile.py +++ b/src/ntfsdump/models/ImageFile.py @@ -80,7 +80,7 @@ def __analyze_partitions(self) -> List[NtfsVolume]: vhdi_file = pyvhdi.file() vhdi_file.open(str(self.path)) img_info = Img_Info(vhdi_file) - elif self.file_type == ['vmdk', 'VMDK']: + elif self.file_type in ['vmdk', 'VMDK']: self.logger.log(f"[analyze] VMDK Format Image", 'system') vmdk_handle = pyvmdk.handle() vmdk_handle.open(str(self.path))