mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
use raw strings for regexp with escape sequences
This commit is contained in:
@@ -397,7 +397,7 @@ class parser(object):
|
||||
param being a company account is not enforced here either.
|
||||
"""
|
||||
def normalize(account_no):
|
||||
return re.sub('\s', '', account_no)
|
||||
return re.sub(r'\s', '', account_no)
|
||||
|
||||
account = normalize(account)
|
||||
cr.execute(
|
||||
|
||||
Reference in New Issue
Block a user