From 9ba7f87a37fe7c4459683012260293635b063fa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Murta?= Date: Sat, 3 Jul 2021 18:21:12 +0100 Subject: [PATCH] [Fix] Add Null to the possible list of categories The Null category was missing from the available categories when manually categorizing. --- pfbudget/categories.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pfbudget/categories.py b/pfbudget/categories.py index afff9c7..e5aa424 100644 --- a/pfbudget/categories.py +++ b/pfbudget/categories.py @@ -28,6 +28,7 @@ Options = namedtuple( cfg = yaml.safe_load(open("categories.yaml")) categories = {k: Options(**v) if v else Options() for k, v in cfg.items()} +categories["Null"] = Options() def categorize_data(db: DBManager):