Skip to content

Commit 2ba589c

Browse files
Correct duplicate attribute typo
Now searches for invalid suite number attribute, before was looking for "CountrySupported" twice.
1 parent 2d24159 commit 2ba589c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/address_validation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ class can handle up to 100 addresses for validation.
102102
print("Supported Country: {}".format(cur_attribute.Value == 'true'))
103103
if cur_attribute.Name == "SuiteRequiredButMissing":
104104
print("Missing Suite: {}".format(cur_attribute.Value == 'true'))
105-
if cur_attribute.Name == "CountrySupported":
105+
if cur_attribute.Name == "InvalidSuiteNumber":
106106
print("Invalid Suite: {}".format(cur_attribute.Value == 'true'))
107107
if cur_attribute.Name == "MultipleMatches":
108108
print("Multiple Matches: {}".format(cur_attribute.Value == 'true'))

0 commit comments

Comments
 (0)