Update Doors_Schedule.py
Browse files- Doors_Schedule.py +4 -4
Doors_Schedule.py
CHANGED
|
@@ -466,9 +466,9 @@ def get_widths_bb_format(cleaned_width, kelma):
|
|
| 466 |
width_name = int(float(width_name))
|
| 467 |
height_name = int(float(height_name))
|
| 468 |
if match:
|
| 469 |
-
full_text = f"{width_name}mm wide x {height_name}mm high"
|
| 470 |
else:
|
| 471 |
-
full_text = f"{height_name}mm wide x {width_name}mm high"
|
| 472 |
widths.append(full_text)
|
| 473 |
return widths
|
| 474 |
|
|
@@ -596,7 +596,7 @@ def get_width_info_tobeprinted_secondary(new_data, main_info, secondary_info):
|
|
| 596 |
h = re.sub(r",", "", height)
|
| 597 |
w = int(float(w))
|
| 598 |
h = int(float(h))
|
| 599 |
-
width_info_tobeprinted.append(f"{w}mm wide x {h}mm high")
|
| 600 |
secondary_info_tobeprinted.append(acous)
|
| 601 |
|
| 602 |
|
|
@@ -606,7 +606,7 @@ def get_width_info_tobeprinted_secondary(new_data, main_info, secondary_info):
|
|
| 606 |
h = re.sub(r",", "", height)
|
| 607 |
w = int(float(w))
|
| 608 |
h = int(float(h))
|
| 609 |
-
width_info_tobeprinted.append(f"{w}mm wide x {h}mm high")
|
| 610 |
secondary_info_tobeprinted.append((acous, fire))
|
| 611 |
return width_info_tobeprinted, secondary_info_tobeprinted
|
| 612 |
|
|
|
|
| 466 |
width_name = int(float(width_name))
|
| 467 |
height_name = int(float(height_name))
|
| 468 |
if match:
|
| 469 |
+
full_text = f"{width_name} mm wide x {height_name} mm high"
|
| 470 |
else:
|
| 471 |
+
full_text = f"{height_name} mm wide x {width_name} mm high"
|
| 472 |
widths.append(full_text)
|
| 473 |
return widths
|
| 474 |
|
|
|
|
| 596 |
h = re.sub(r",", "", height)
|
| 597 |
w = int(float(w))
|
| 598 |
h = int(float(h))
|
| 599 |
+
width_info_tobeprinted.append(f"{w} mm wide x {h} mm high")
|
| 600 |
secondary_info_tobeprinted.append(acous)
|
| 601 |
|
| 602 |
|
|
|
|
| 606 |
h = re.sub(r",", "", height)
|
| 607 |
w = int(float(w))
|
| 608 |
h = int(float(h))
|
| 609 |
+
width_info_tobeprinted.append(f"{w} mm wide x {h} mm high")
|
| 610 |
secondary_info_tobeprinted.append((acous, fire))
|
| 611 |
return width_info_tobeprinted, secondary_info_tobeprinted
|
| 612 |
|