💠down_reconnected support v0.7 #611
This commit is contained in:
@@ -277,7 +277,7 @@ def importConfigs (db, all_plugins):
|
|||||||
plugin_indexes_to_remove.sort(reverse=True)
|
plugin_indexes_to_remove.sort(reverse=True)
|
||||||
for indx in plugin_indexes_to_remove:
|
for indx in plugin_indexes_to_remove:
|
||||||
pref = all_plugins[indx]["unique_prefix"]
|
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.pop(indx)
|
||||||
|
|
||||||
# all_plugins has now only initialized plugins, get all prefixes
|
# all_plugins has now only initialized plugins, get all prefixes
|
||||||
|
|||||||
@@ -200,7 +200,7 @@ def insert_events (db):
|
|||||||
ELSE 'Connected'
|
ELSE 'Connected'
|
||||||
END,
|
END,
|
||||||
'',
|
'',
|
||||||
d.dev_AlertEvents
|
1
|
||||||
FROM LatestEventsPerMAC AS d
|
FROM LatestEventsPerMAC AS d
|
||||||
JOIN CurrentScan AS c ON d.dev_MAC = c.cur_MAC
|
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
|
LEFT JOIN LatestEventsPerMAC AS last_event ON d.dev_MAC = last_event.eve_MAC
|
||||||
|
|||||||
Reference in New Issue
Block a user