Browse Source

Filter Exception => UnicodeDecodeError

12.0
Vincent Barrier 6 years ago
committed by GitHub
parent
commit
6b51539132
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      account_bank_statement_import_paypal/wizards/account_bank_statement_import_paypal.py

2
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:

Loading…
Cancel
Save