Skip to content

Commit f21e1bf

Browse files
author
Alexis de Lattre
committed
Fixes #4: internal_code is optional in 04 lines
1 parent 2ecc229 commit f21e1bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cfonb/parser/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ class ParserContent04(Parser):
151151
_regex = [
152152
('record_code', '(04)', 2),
153153
('bank_code', G_N, 5),
154-
('internal_code', G_AN, 4),
154+
('internal_code', G_AN_, 4),
155155
('desk_code', G_N, 5),
156156
('currency_code', G_A_, 3),
157157
('nb_of_dec', G_N_, 1),

0 commit comments

Comments
 (0)