From 07cfe9e45c15a4fa3ae8cfe40a6550ab710640d8 Mon Sep 17 00:00:00 2001 From: Christoph Holtermann Date: Tue, 8 Mar 2022 10:45:17 +0100 Subject: [PATCH] Missed one redundancy --- bindings/python/example_scripts/qof.py | 1 - 1 file changed, 1 deletion(-) diff --git a/bindings/python/example_scripts/qof.py b/bindings/python/example_scripts/qof.py index 4ec7001045..166ca72df1 100644 --- a/bindings/python/example_scripts/qof.py +++ b/bindings/python/example_scripts/qof.py @@ -160,7 +160,6 @@ with Session(uri, SessionOpenMode.SESSION_NEW_STORE) as ses: # query split value threshold = GncNumeric(5000, 100) - QOF_NUMERIC_MATCH_ANY = 3 terms = [(["amount"], gnucash_core.QueryNumericPredicate(QOF_COMPARE_GT, QOF_NUMERIC_MATCH_ANY, threshold), QOF_QUERY_AND)] splits_3 = query_splits(book, terms) print("Query splits with amount > " + str(threshold) + ": " + str(len(splits_3)) + " (Should be about 50).")