From f3e057c7d27bb1ce0d6bf7ab71d7fccf8288beb2 Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Sat, 18 Dec 2021 20:45:44 -0300 Subject: [PATCH] Add one more string to Amstrad analyzer check --- biostools/analyzers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/biostools/analyzers.py b/biostools/analyzers.py index 3c712ba..4993f0d 100644 --- a/biostools/analyzers.py +++ b/biostools/analyzers.py @@ -802,7 +802,7 @@ class AmstradAnalyzer(NoInfoAnalyzer): super().__init__('Amstrad', *args, **kwargs) def has_strings(self, file_data): - return (b'AMSTRAD plc' in file_data or b'Amstrad Consumer Electronics plc' in file_data) and ((b'Veuillez mettre des piles neuves' in file_data and b'Batterie da sostituire' in file_data and b'ponga piles nuevas' in file_data and b'neue Batterien einsetzen' in file_data) or b'IBMUS NON CARBORUNDUM' in file_data) + return (b'AMSTRAD plc' in file_data or b'Amstrad plc' in file_data or b'Amstrad Consumer Electronics plc' in file_data) and ((b'Veuillez mettre des piles neuves' in file_data and b'Batterie da sostituire' in file_data and b'ponga piles nuevas' in file_data and b'neue Batterien einsetzen' in file_data) or b'IBMUS NON CARBORUNDUM' in file_data) class AwardAnalyzer(Analyzer):