Merge branch 'trunk' of ssh://git.autonomic.zone:2222/autonomic-cooperative/civicrm-confdump into trunk

This commit is contained in:
Cassowary Rusnov 2022-03-10 08:11:03 -08:00
commit e888c08d30

View File

@ -252,7 +252,7 @@ def main() -> int:
of.write(json.dumps(data))
# 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: