diff --git a/lib/getpositions.py b/lib/getpositions.py index 4d1d828..1ff3be9 100644 --- a/lib/getpositions.py +++ b/lib/getpositions.py @@ -429,7 +429,7 @@ def get_subdistributor_positions_iter(dxf_path, dist2sensors: dict) -> dict: if entity_layer != layer_name: continue for distname in all_distributors: - if f"-{distname}" in entity_text: + if f"+{distname}" in entity_text: ret[distname] = (round(insert_point[0], 1), round(insert_point[1], 1)) return ret