From 6bce7d1a2c341fb13ae9b52673641b3691a53b79 Mon Sep 17 00:00:00 2001 From: Nedas Date: Thu, 26 Apr 2018 15:56:28 +0300 Subject: [PATCH] [LINT] [11.0] account_bank_statement_import_mt940_pl_raiffeisen --- account_bank_statement_import_mt940_pl_raiffeisen/mt940.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/account_bank_statement_import_mt940_pl_raiffeisen/mt940.py b/account_bank_statement_import_mt940_pl_raiffeisen/mt940.py index d0e744c..0789b4b 100644 --- a/account_bank_statement_import_mt940_pl_raiffeisen/mt940.py +++ b/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(',', '.'))