Browse Source

[LINT] [11.0] account_bank_statement_import_mt940_pl_raiffeisen

pull/156/head
Nedas 7 years ago
parent
commit
6bce7d1a2c
  1. 6
      account_bank_statement_import_mt940_pl_raiffeisen/mt940.py

6
account_bank_statement_import_mt940_pl_raiffeisen/mt940.py

@ -47,9 +47,9 @@ class MT940Parser(MT940):
self.mt940_type = 'Raiffeisen'
self.header_lines = 0
self.header_regex = '^:20'
self.footer_regex = '^\-$'
self.tag_regex = '^:[0-9]{2}[A-Z]*:'
self.header_regex = r'^:20'
self.footer_regex = r'^\-$'
self.tag_regex = r'^:[0-9]{2}[A-Z]*:'
def str2amount(self, sign, amount_str):
return (1 if sign == 'C' else -1) * float(amount_str.replace(',', '.'))

Loading…
Cancel
Save