WIP sort all transactions

This commit is contained in:
Benjamin Loison 2024-10-03 21:36:43 +02:00
parent 9e8de4b4c7
commit 7d7ced9b81
Signed by: Benjamin_Loison
SSH Key Fingerprint: SHA256:BtnEgYTlHdOg1u+RmYcDE0mnfz1rhv5dSbQ2gyxW8B8

View File

@ -60,6 +60,9 @@ for folder in sorted(os.listdir()):
from pprint import pprint
#pprint(transactions)
import operator
allTransactions.sort(key = operator.itemgetter('date'))
print(len(allTransactions))
pprint(allTransactions)
exit(0)