[Fix] Add Null to the possible list of categories

The Null category was missing from the available categories when
manually categorizing.
This commit is contained in:
Luís Murta 2021-07-03 18:21:12 +01:00
parent d8c9f3f9b9
commit 9ba7f87a37
Signed by: satprog
GPG Key ID: DDF2EFC6179009DC

View File

@ -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):