[IMP] account_ebics: pre-commit auto fixes

This commit is contained in:
Luc De Meyer
2026-03-01 23:28:13 +01:00
parent 8d88f5135b
commit 051c68f785
4 changed files with 6 additions and 8 deletions

View File

@@ -379,8 +379,7 @@ class EbicsFile(models.Model):
file_data = base64.b64decode(self.data).replace(b"\n", b"").replace(b"\r", b"")
if len(file_data) % 120:
message = self.env._(
"Incorrect CFONB120 file:\n"
"the file is not divisible in 120 char lines"
"Incorrect CFONB120 file:\nthe file is not divisible in 120 char lines"
)
res["notifications"].append({"type": "error", "message": message})
return datas