From a821e977e36c829c2c528f4457759c7af0e0e14d Mon Sep 17 00:00:00 2001 From: Lorenz Stechauner Date: Mon, 18 Sep 2023 01:33:42 +0200 Subject: [PATCH] migrate.py: Hardcode branch address for Matzen --- wgmaster/migrate.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wgmaster/migrate.py b/wgmaster/migrate.py index d723d8a..d2a86e6 100755 --- a/wgmaster/migrate.py +++ b/wgmaster/migrate.py @@ -525,6 +525,9 @@ def migrate_branches(in_dir: str, out_dir: str) -> None: BRANCH_MAP[b['ZNR']] = b['Kennbst'] address = b['Straße'] postal_dest = lookup_plz(int(b['PLZ']) if b['PLZ'] else None, b['Ort'], address) + if CLIENT == WG.MATZEN: + address = 'Schloßstraße 6' + postal_dest = 224303541 tel, mob = normalize_phone_nr(b['Telefon']), None if tel and tel[4] == '6': mob, tel = tel, None