mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
changed to __main__.py and scanners folder
This commit is contained in:
@@ -21,7 +21,7 @@ def timeNow():
|
||||
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
def run_plugin_scripts(db, runType):
|
||||
def run_plugin_scripts(db, runType, plugins = conf.plugins):
|
||||
|
||||
# global plugins, tz, mySchedules
|
||||
|
||||
@@ -30,7 +30,7 @@ def run_plugin_scripts(db, runType):
|
||||
|
||||
mylog('debug', [' [Plugins] Check if any plugins need to be executed on run type: ', runType])
|
||||
|
||||
for plugin in conf.plugins:
|
||||
for plugin in plugins:
|
||||
|
||||
shouldRun = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user