mirror of
https://github.com/brain-tec/account_ebics.git
synced 2025-04-02 08:45:29 +00:00
Merge pull request #57 from Noviat/16.0
Syncing from upstream Noviat/account_ebics (16.0)
This commit is contained in:
commit
2e0bbf9903
@ -369,8 +369,7 @@ class EbicsFile(models.Model):
|
|||||||
Statements without transactions are removed.
|
Statements without transactions are removed.
|
||||||
"""
|
"""
|
||||||
datas = []
|
datas = []
|
||||||
file_data = base64.b64decode(self.data)
|
file_data = base64.b64decode(self.data).replace(b"\n", b"").replace(b"\r", b"")
|
||||||
file_data.replace(b"\n", b"").replace(b"\r", b"")
|
|
||||||
if len(file_data) % 120:
|
if len(file_data) % 120:
|
||||||
message = _(
|
message = _(
|
||||||
"Incorrect CFONB120 file:\n"
|
"Incorrect CFONB120 file:\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user