From 4244d70312a1566416d60af48ff377ec2c87677e Mon Sep 17 00:00:00 2001 From: prculley Date: Sat, 7 Sep 2019 09:48:18 -0500 Subject: [PATCH] Fix CLI crash when generating reports Fixes #11318, #11213 --- gramps/cli/grampscli.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gramps/cli/grampscli.py b/gramps/cli/grampscli.py index 8514d394c..efc50b7b7 100644 --- a/gramps/cli/grampscli.py +++ b/gramps/cli/grampscli.py @@ -64,6 +64,7 @@ from gramps.gen.db.exceptions import (DbUpgradeRequiredError, from gramps.gen.plug import BasePluginManager from gramps.gen.utils.config import get_researcher from gramps.gen.recentfiles import recent_files +from gramps.gen.filters import reload_custom_filters #------------------------------------------------------------------------- # @@ -373,6 +374,7 @@ def startcli(errors, argparser): #load the plugins climanager.do_reg_plugins(dbstate, uistate=None) + reload_custom_filters() # handle the arguments from .arghandler import ArgHandler handler = ArgHandler(dbstate, argparser, climanager)