Skip to content
Permalink
Browse files
add return value
  • Loading branch information
jfbourdon authored and nyalldawson committed Oct 22, 2021
1 parent c6008b7 commit dfe2638de5b90f60472dc8678c821e3322d89400
Showing with 3 additions and 2 deletions.
  1. +3 −2 python/utils.py
@@ -581,11 +581,12 @@ def reloadPlugin(packageName: str):
""" unload and start again a plugin """
global active_plugins
if packageName not in active_plugins:
return # it's not active
return False # it's not active

unloadPlugin(packageName)
loadPlugin(packageName)
startPlugin(packageName)
started = startPlugin(packageName)
return started


def showPluginHelp(packageName: str = None, filename: str = "index", section: str = ""):

0 comments on commit dfe2638

Please sign in to comment.