[fix] combined components
This commit is contained in:
@@ -504,7 +504,7 @@ class AddressComponents(object):
|
||||
for combo in combo_config:
|
||||
components = OrderedDict.fromkeys(combo['components']).keys()
|
||||
|
||||
if not all((is_numeric(address_components.get(c, generated.get(c))) or c in generated for c in components)):
|
||||
if not all((is_numeric(address_components.get(c, generated.get(c))) or generated.get(c) for c in components)):
|
||||
if combo['probability'] == 1.0:
|
||||
for c in components:
|
||||
if c in address_components and c in generated:
|
||||
|
||||
Reference in New Issue
Block a user