💠down_reconnected support v0.7 #611

This commit is contained in:
jokob-sk
2024-05-26 15:50:26 +10:00
parent df071c0835
commit b3f81967c6
2 changed files with 2 additions and 2 deletions

View File

@@ -277,7 +277,7 @@ def importConfigs (db, all_plugins):
plugin_indexes_to_remove.sort(reverse=True)
for indx in plugin_indexes_to_remove:
pref = all_plugins[indx]["unique_prefix"]
mylog('none', [f'[Config] ⛔ Unloading plugin {pref} because not in the LOADED_PLUGINS setting or disabled by default'])
mylog('none', [f'[Config] ⛔ Unloading {pref}'])
all_plugins.pop(indx)
# all_plugins has now only initialized plugins, get all prefixes

View File

@@ -200,7 +200,7 @@ def insert_events (db):
ELSE 'Connected'
END,
'',
d.dev_AlertEvents
1
FROM LatestEventsPerMAC AS d
JOIN CurrentScan AS c ON d.dev_MAC = c.cur_MAC
LEFT JOIN LatestEventsPerMAC AS last_event ON d.dev_MAC = last_event.eve_MAC