Marthee commited on
Commit
c7da3b4
·
verified ·
1 Parent(s): b7b0cdb

Update Doors_Schedule.py

Browse files
Files changed (1) hide show
  1. Doors_Schedule.py +2 -0
Doors_Schedule.py CHANGED
@@ -1099,6 +1099,8 @@ def add_bluebeam_count_annotations_secondary(pdf_bytes, locations, main_info, se
1099
 
1100
  if len(main_info) == 3 and len(secondary_info) == 1:
1101
  for loc in locations:
 
 
1102
  coor, lbl, w, acous, clr = loc
1103
  clr = (clr[0] / 255, clr[1] / 255, clr[2] / 255)
1104
  for cor in coor:
 
1099
 
1100
  if len(main_info) == 3 and len(secondary_info) == 1:
1101
  for loc in locations:
1102
+ if len(loc) != 5:
1103
+ continue
1104
  coor, lbl, w, acous, clr = loc
1105
  clr = (clr[0] / 255, clr[1] / 255, clr[2] / 255)
1106
  for cor in coor: