diff --git a/confdump.py b/confdump.py index 7d19304..3bddcb8 100644 --- a/confdump.py +++ b/confdump.py @@ -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: