Changed operator for contact subtype to "contains"
When it was "=" it didn't get ones with multiple subtypes.
This commit is contained in:
parent
3344394fbc
commit
145a0f698d
@ -241,7 +241,7 @@ def main() -> int:
|
||||
|
||||
# dump org contacts
|
||||
output = args.output / ("Contact.json")
|
||||
data = api.get("Contact", where=[["contact_sub_type", "=", "Political_Party"]])
|
||||
data = api.get("Contact", where=[["contact_sub_type", "CONTAINS", "Political_Party"]])
|
||||
if data:
|
||||
print("dumping parties")
|
||||
with output.open("w") as of:
|
||||
|
Loading…
Reference in New Issue
Block a user