From 55da6645c6113cf4c8488e0280544785b394e38a Mon Sep 17 00:00:00 2001 From: mistangl Date: Wed, 23 Jul 2025 17:08:09 +0200 Subject: [PATCH] Alle Unterverteiler heissen vom Text her immer + und nicht - --- lib/getpositions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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