migrate.py: Hardcode branch address for Matzen

This commit is contained in:
2023-09-18 01:33:42 +02:00
parent 5ca6cb2093
commit a821e977e3

View File

@ -525,6 +525,9 @@ def migrate_branches(in_dir: str, out_dir: str) -> None:
BRANCH_MAP[b['ZNR']] = b['Kennbst'] BRANCH_MAP[b['ZNR']] = b['Kennbst']
address = b['Straße'] address = b['Straße']
postal_dest = lookup_plz(int(b['PLZ']) if b['PLZ'] else None, b['Ort'], address) 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 tel, mob = normalize_phone_nr(b['Telefon']), None
if tel and tel[4] == '6': if tel and tel[4] == '6':
mob, tel = tel, None mob, tel = tel, None