From 0e671ec838cadd345f93e6073b98bece23d45de0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Murta?= Date: Wed, 9 Sep 2020 21:19:00 +0100 Subject: [PATCH] Adds new travel dates --- categories.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/categories.py b/categories.py index bb1b970..c5f3000 100644 --- a/categories.py +++ b/categories.py @@ -40,6 +40,9 @@ class Categories: travel_matches = Travel().search_all( transactions, date(2019, 12, 23), date(2020, 1, 2) ) + travel_matches.extend( + Travel().search_all(transactions, date(2020, 7, 1), date(2020, 7, 30)) + ) for i, transaction in enumerate(transactions): for category in [cat() for cat in cls.get_categories()]: