bug fix with billing provider information

This commit is contained in:
Steve Nyemba 2021-02-15 20:11:49 -06:00
parent f6f118b219
commit 0f4cce2b22
1 changed files with 4 additions and 1 deletions

View File

@ -471,6 +471,7 @@ class Parser (Process):
segment = [] segment = []
index = 0; index = 0;
_toprows = [] _toprows = []
_default = None
for row in file : for row in file :
row = row.replace('\r','') row = row.replace('\r','')
if not segment and not row.startswith(section): if not segment and not row.startswith(section):
@ -483,7 +484,9 @@ class Parser (Process):
continue continue
elif segment and not row.startswith(section): elif segment and not row.startswith(section):
if not _default :
_default = (self.apply(_toprows,_code))
DEFAULT_VALUE = dict(DEFAULT_VALUE,**_default)
segment.append(row) segment.append(row)