[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:
parent
d8c9f3f9b9
commit
9ba7f87a37
@ -28,6 +28,7 @@ Options = namedtuple(
|
|||||||
|
|
||||||
cfg = yaml.safe_load(open("categories.yaml"))
|
cfg = yaml.safe_load(open("categories.yaml"))
|
||||||
categories = {k: Options(**v) if v else Options() for k, v in cfg.items()}
|
categories = {k: Options(**v) if v else Options() for k, v in cfg.items()}
|
||||||
|
categories["Null"] = Options()
|
||||||
|
|
||||||
|
|
||||||
def categorize_data(db: DBManager):
|
def categorize_data(db: DBManager):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user