Missed one redundancy

pull/1290/head
Christoph Holtermann 4 years ago
parent 395c7a7052
commit 07cfe9e45c

@ -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).")

Loading…
Cancel
Save