fix issue #7 plugins not executed

This commit is contained in:
Data-Monkey
2023-06-04 14:20:19 +10:00
parent 2a2f96d726
commit 6edb623b9c

View File

@@ -12,14 +12,14 @@ from helper import timeNow, updateState, get_file_content, write_file
from api import update_api from api import update_api
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
def run_plugin_scripts(db, runType, plugins = conf.plugins): def run_plugin_scripts(db, runType):
# Header # Header
updateState(db,"Run: Plugins") updateState(db,"Run: Plugins")
mylog('debug', ['[Plugins] Check if any plugins need to be executed on run type: ', runType]) mylog('debug', ['[Plugins] Check if any plugins need to be executed on run type: ', runType])
for plugin in plugins: for plugin in conf.plugins:
shouldRun = False shouldRun = False