migrate.py: Fix Velm-Götzendorf bug
This commit is contained in:
@ -316,7 +316,7 @@ def lookup_plz(plz: Optional[int], ort: Optional[str], address: Optional[str] =
|
||||
|
||||
if ort == 'VELM-GÖTZENDORF':
|
||||
parts = address.split(' ')
|
||||
street = parts[:-1]
|
||||
street = ' '.join(parts[:-1])
|
||||
nr = int(parts[-1].split('-')[0])
|
||||
if street == 'Landstraße' and nr <= 48 \
|
||||
or street == 'Winterzeile' and (nr <= 49 or nr in (52, 54, 56)) \
|
||||
|
Reference in New Issue
Block a user