[fix] floors
This commit is contained in:
@@ -180,7 +180,7 @@ class OSMAddressFormatter(object):
|
|||||||
except (ValueError, TypeError):
|
except (ValueError, TypeError):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if max_floors is not None and num_floors > max_floors:
|
if max_floors is None or num_floors > max_floors:
|
||||||
max_floors = num_floors
|
max_floors = num_floors
|
||||||
return max_floors
|
return max_floors
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user