From 9116148587dfaae01020f204b753c07ee806344a Mon Sep 17 00:00:00 2001 From: prculley Date: Tue, 28 Feb 2017 08:35:33 -0600 Subject: [PATCH] Fix addon manager to reload updated plugins so they are recognized --- gramps/cli/grampscli.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gramps/cli/grampscli.py b/gramps/cli/grampscli.py index 988e7898d..bc451794a 100644 --- a/gramps/cli/grampscli.py +++ b/gramps/cli/grampscli.py @@ -337,6 +337,8 @@ class CLIManager: """ self._pmgr.reg_plugins(PLUGINS_DIR, dbstate, uistate, rescan=rescan) self._pmgr.reg_plugins(USER_PLUGINS, dbstate, uistate, load_on_reg=True) + if rescan: # supports updated plugin installs + self._pmgr.reload_plugins() def startcli(errors, argparser): """