From 146a13dccde18c8de08dc13317484ddb760d0f29 Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Wed, 22 Nov 2023 22:00:05 -0300 Subject: [PATCH] ISOExtractor: Fix critical bug that incapacitated it --- biostools/extractors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/biostools/extractors.py b/biostools/extractors.py index 7c2901e..5864417 100644 --- a/biostools/extractors.py +++ b/biostools/extractors.py @@ -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.