mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 01:26:11 -08:00
💠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)
|
||||
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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user