ISOExtractor: Fix critical bug that incapacitated it

This commit is contained in:
RichardG867
2023-11-22 22:00:05 -03:00
parent b1ebbabc18
commit 146a13dccd

View File

@@ -1465,7 +1465,7 @@ class ISOExtractor(ArchiveExtractor):
def extract(self, file_path, file_header, dest_dir, dest_dir_0):
# Stop if this is not an ISO.
if file_header[32769:32774] != b'CD001' or file_header[32777:32782] != b'CDROM':
if file_header[32769:32774] != b'CD001' and file_header[32777:32782] != b'CDROM':
return False
# Extract this as an archive.