changed to __main__.py and scanners folder

This commit is contained in:
Data-Monkey
2023-05-27 22:38:12 +10:00
parent 52027c65b3
commit a71f16ee37
16 changed files with 230 additions and 430 deletions

View File

@@ -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