From df5e52b4d778b5815159ca3081e6df6372ad3f8f Mon Sep 17 00:00:00 2001 From: Holger Brunn Date: Thu, 20 Mar 2014 15:18:21 +0100 Subject: [PATCH] [FIX] add braces --- account_banking_camt/camt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/account_banking_camt/camt.py b/account_banking_camt/camt.py index 29a44b9cf..4fe4ae67b 100644 --- a/account_banking_camt/camt.py +++ b/account_banking_camt/camt.py @@ -254,13 +254,13 @@ CAMT Format parser Sanity check the document's namespace """ if not self.ns.startswith('{urn:iso:std:iso:20022:tech:xsd:camt.')\ - and not self.ns.startswith('ISO:camt.'): + and not self.ns.startswith('{ISO:camt.'): raise except_orm( "Error", "This does not seem to be a CAMT format bank statement.") if not self.ns.startswith('{urn:iso:std:iso:20022:tech:xsd:camt.053.')\ - and not self.ns.startswith('ISO:camt.053'): + and not self.ns.startswith('{ISO:camt.053'): raise except_orm( "Error", "Only CAMT.053 is supported at the moment.")