diff --git a/converter_app/readers/gcd.py b/converter_app/readers/gcd.py index 19f7d20d..596c2833 100644 --- a/converter_app/readers/gcd.py +++ b/converter_app/readers/gcd.py @@ -39,6 +39,11 @@ def check(self): """ :return: True if it fits """ + if self.is_tar_ball: + self.file = next((x for x in self.file_content if x.name.lower().endswith('.gcd.txt')), None) + if self.file is None: + return False + result = self.file.suffix.lower() == '.txt' if result: self.lines = self._parse_input()