Marthee commited on
Commit
696e934
·
verified ·
1 Parent(s): 1c729d5

Update InitialMarkups.py

Browse files
Files changed (1) hide show
  1. InitialMarkups.py +1 -1
InitialMarkups.py CHANGED
@@ -1194,7 +1194,7 @@ def extract_section_under_header_tobebilledOnly(pdf_path):
1194
  stringtowrite='Not to be billed'
1195
  else:
1196
  stringtowrite='To be billed'
1197
- if stringtowrite=='Not to be billed':
1198
  alltextWithoutNotbilled+= combined_line_norm #################################################
1199
  # Optimized header matching
1200
  existsfull = (
 
1194
  stringtowrite='Not to be billed'
1195
  else:
1196
  stringtowrite='To be billed'
1197
+ if stringtowrite!='To be billed':
1198
  alltextWithoutNotbilled+= combined_line_norm #################################################
1199
  # Optimized header matching
1200
  existsfull = (