diff --git a/account_bank_statement_import_paypal/wizards/account_bank_statement_import_paypal.py b/account_bank_statement_import_paypal/wizards/account_bank_statement_import_paypal.py index 6d0506f..76018dc 100644 --- a/account_bank_statement_import_paypal/wizards/account_bank_statement_import_paypal.py +++ b/account_bank_statement_import_paypal/wizards/account_bank_statement_import_paypal.py @@ -68,7 +68,7 @@ class AccountBankStatementImport(models.TransientModel): def _check_paypal(self, data_file): try: data_file = self._get_paypal_str_data(data_file) - except Exception as e: + except UnicodeDecodeError as e: _logger.debug(e) return False if not self.paypal_map_id: