Fix addon manager to reload updated plugins so they are recognized

This commit is contained in:
prculley 2017-02-28 08:35:33 -06:00
parent 5b51f3dcc9
commit 9116148587

View File

@ -337,6 +337,8 @@ class CLIManager:
""" """
self._pmgr.reg_plugins(PLUGINS_DIR, dbstate, uistate, rescan=rescan) self._pmgr.reg_plugins(PLUGINS_DIR, dbstate, uistate, rescan=rescan)
self._pmgr.reg_plugins(USER_PLUGINS, dbstate, uistate, load_on_reg=True) 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): def startcli(errors, argparser):
""" """