diff --git a/doc/examples/querytest.py b/doc/examples/querytest.py index 49713a7..2bc599f 100644 --- a/doc/examples/querytest.py +++ b/doc/examples/querytest.py @@ -170,7 +170,7 @@ print("\nThe warning can be suppressed by making the condition explicit.") q = Query(client, "Rule", order=['grouping', 'what', 'id'], - conditions={"grouping":"IS NOT NULL"}) + conditions=[("grouping", "IS NOT NULL")]) print(str(q)) print("%d result(s)" % len(client.search(q)))